Lens Scripting API

    Class ColorRenderTarget

    Color based RenderTarget.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    clearColor: vec4

    Sets the clear color of the camera when its clearColorOption is set to ClearColorOption.CustomColor

    clearColorOption: ClearColorOption

    Sets how the RenderTarget's color will be cleared before rendering during each frame.

    inputTexture: Texture

    Color texture used in clear color operation in "CustomTexture" mode.

    maskTexture: Texture

    Texture used like a color mask for target texture.

    targetTexture: Texture

    Render target texture. Camera will render scene color values to this texture.

    Methods

    • Returns true if the object matches or derives from the passed in type.

      Parameters

      • type: string

      Returns boolean

    • Returns true if this object is the same as other. Useful for checking if two references point to the same thing.

      Parameters

      Returns boolean

    MMNEPVFCICPMFPCPTTAAATR