Editor Scripting API

    Class TypeScriptAssetBeta

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    cacheFile: Path
    componentId: Uuid

    Id associated with the script asset.

    description: string

    Description associated with the script asset

    exportId: Uuid

    Export id associated with the script asset.

    icon: Icon

    Icon associated with the script asset.

    id: Uuid

    The unique id of the entity.

    name: string

    The name of the asset.

    type: string

    The entity's type.

    version: Version

    Version associated with the script asset.

    Methods

    • Beta

      Parameters

      • type: string

      Returns boolean

    • Beta

      Returns true if the script inpput is hidden from the scene.

      Parameters

      • inputName: 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

    • Beta

      Used when you'd like to hide inputs from users in the scene.

      Parameters

      • inputName: string
      • hidden: boolean

      Returns void

    MMNEPVFCICPMFPCPTTAAATR