The same entity as in Lens Scripting.

interface CameraClearDepth {
    id: Uuid;
    input: Editor.Assets.Texture;
    mode: Editor.Components.CameraClearDepth.Mode;
    type: string;
    value: number;
    getDirectlyReferencedEntities(): Entity[];
    getOwnedEntities(): Entity[];
    getTypeName(): string;
    isOfType(type: string): boolean;
    isSame(other: ScriptObject): boolean;
    remapReferences(referenceMapping: object): void;
}

Hierarchy (view full)

Properties

id: Uuid

The unique id of the entity.

type: string

The entity's type.

value: number

Methods

  • Beta

    Swap this entity for another one based on a JSON of the current entity id and the target entity id.

    Parameters

    • referenceMapping: object

    Returns void