Editor Scripting API

    A native asset that provides the target for a camera to provide its output to. Import with Editor.Model.AssetManager#createNativeAsset.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    antialiasingMode: AntialiasingMode
    cacheFile: Path
    clearColor: vec4
    clearColorOption: ClearColorOption
    depthBuffer: DepthBufferStrategy
    id: Uuid

    The unique id of the entity.

    inputTexture: Texture
    msaaStrategy: MSAAStrategy
    name: string

    The name of the asset.

    resolution: Editor.Size
    type: string

    The entity's type.

    useScreenResolution: boolean

    Methods

    • Beta

      Parameters

      • type: string

      Returns boolean

    • 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

    MMNEPVFCICPMFPCPTTAAATR