Editor Scripting API

    The same entity as in Lens Scripting.

    Hierarchy (View Summary, Expand)

    Index

    Constructors

    Properties

    angularDamping: number
    bodySetting: BodySetting
    bodySettingValue: number
    damping: number
    debugDrawEnabled: boolean
    dynamic: boolean
    enabled: boolean
    filter: Filter
    fitVisual: boolean
    forceCompound: boolean
    id: Uuid

    The unique id of the entity.

    intangible: boolean
    matter: Matter
    name: string
    overlapFilter: Filter
    rotateSmoothFactor: number
    sceneObject: SceneObject
    smooth: boolean
    translateSmoothFactor: number
    type: string

    The entity's type.

    worldSettings: WorldSettingsAsset

    Methods

    • 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