Instance Method

clone(recursive:)

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

See Also

Creating a Point Light

init()

Creates a new point light entity.