Lens Scripting API

    Enumeration LookAtMode

    Modes used in LookAtComponent.lookAtMode to determine the rotation method being used.

    // @input Component.LookAtComponent lookAt

    script.lookAt.lookAtMode = LookAtComponent.LookAtMode.LookAtPoint;
    script.lookAt.target = script.getSceneObject();
    Index

    Enumeration Members

    Enumeration Members

    LookAtDirection: number

    Rotation is based on the target object's rotation

    LookAtPoint: number

    Rotation is based on the target object's position

    MMNEPVFCICPMFPCPTTAAATR