Editor Scripting API

    Metadata of the current project's Lens.

    Index

    Constructors

    Properties

    activationCamera: LensActivationCamera

    The camera which will be activated when this Lens is turned on.

    iconPath: Path

    The absolute path to the Lens Icon.

    isIconSet: boolean

    Whether an Lens icon has been set.

    lensApplicability: LensApplicability[]

    Where the Lens can be used.

    lensName: string

    The publicly visible name of the Lens.

    Methods

    • Checks whether the Lens Name is valid. See Project Info guide to learn more.

      Parameters

      • lensName: string

      Returns boolean

    • Sets the icon as the Lens' icon.

      Parameters

      Returns void

    MMNEPVFCICPMFPCPTTAAATR