Preparing search index...

    Class ColorRenderTarget

    Color based RenderTarget.

    Hierarchy (View Summary)

    Index

    Properties

    clearColor: vec4

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

    (0, 0, 0, 1)
    
    clearColorOption: ClearColorOption

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

    Lens Scripting Version 141

    ClearColorOption.None
    
    inputTexture: Texture

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

    null
    
    maskTexture: Texture

    Texture used like a color mask for target texture.

    null
    
    targetTexture: Texture

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

    null
    

    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