Instance Method

clone(recursive:)

Duplicates a directional light entity to create a new directional light 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 entity.

See Also

Creating a Directional Light

init()

Creates a directional light entity.