Instance Method

clone(recursive:)

Duplicates a spotlight entity to create a new spotlight entity.

Declaration

func clone(recursive: Bool) -> Self

Parameters

recursive

A Boolean that you set to true to recursively copy all the children of the entity. Otherwise, no descendants are copied.

Return Value

The duplicate light.

See Also

Creating a Spotlight

init()

Creates a spotlight entity.