Hierarchy (view full)

Accessors

  • get actions(): AnimationAction[]
  • Returns AnimationAction[]

  • set actions(val): void
  • Parameters

    • val: AnimationAction[]

    Returns void

  • get activeAndEnabled(): boolean
  • Returns boolean

  • get animations(): AnimationClip[]
  • Returns AnimationClip[]

  • set animations(animations): void
  • Parameters

    • animations: AnimationClip[]

    Returns void

  • get clip(): any
  • Returns any

  • set clip(val): void
  • Parameters

    • val: any

    Returns void

  • set clips(animations): void
  • Parameters

    • animations: AnimationClip[]

    Returns void

  • get context(): Context
  • Returns Context

  • set context(context): void
  • Parameters

    Returns void

  • get currentAction(): any
  • Returns any

    Deprecated

    Currently unsupported

  • get currentActions(): AnimationAction[]
  • Returns AnimationAction[]

    Deprecated

    Currently unsupported

  • get destroyed(): boolean
  • Returns boolean

  • get enabled(): boolean
  • Returns boolean

  • set enabled(val): void
  • Parameters

    • val: boolean

    Returns void

  • get forward(): Vector3
  • Returns Vector3

  • get hideFlags(): HideFlags
  • Returns HideFlags

  • get isComponent(): boolean
  • Returns boolean

  • get isPlaying(): boolean
  • Returns boolean

  • get layer(): number
  • Returns number

  • get name(): string
  • Returns string

  • set name(str): void
  • Parameters

    • str: string

    Returns void

  • get right(): Vector3
  • Returns Vector3

  • get scene(): Scene
  • Returns Scene

  • get static(): any
  • Returns any

  • get tag(): string
  • Returns string

  • set tag(str): void
  • Parameters

    • str: string

    Returns void

  • get up(): Vector3
  • Returns Vector3

  • get worldEuler(): Euler
  • Returns Euler

  • set worldEuler(val): void
  • Parameters

    • val: Euler

    Returns void

  • get worldPosition(): Vector3
  • Returns Vector3

  • set worldPosition(val): void
  • Parameters

    • val: Vector3

    Returns void

  • get worldQuaternion(): Quaternion
  • Returns Quaternion

  • set worldQuaternion(val): void
  • Parameters

    • val: Quaternion

    Returns void

  • get worldRotation(): Vector3
  • Returns Vector3

  • set worldRotation(val): void
  • Parameters

    • val: Vector3

    Returns void

Methods

  • Type Parameters

    Parameters

    • type: string
    • listener: ((evt) => any)
        • (evt): any
        • Parameters

          • evt: T

          Returns any

    Returns void

  • called once when the component becomes active for the first time

    Returns void

  • Parameters

    • name: string

    Returns any

  • Returns void

  • Parameters

    • action: AnimationAction
    • Optional options: PlayOptions

    Returns Promise<AnimationAction>

  • called every time when the component gets enabled (this is invoked after awake and before start)

    Returns void

  • called when you decorate fields with the @validate() decorator

    Parameters

    • Optional prop: string

    Returns void

  • Parameters

    • clipOrNumber: any = 0
    • Optional options: PlayOptions

    Returns void | Promise<AnimationAction>

  • Type Parameters

    Parameters

    • type: string
    • listener: ((arg) => any)
        • (arg): any
        • Parameters

          • arg: T

          Returns any

    Returns void

  • called on a component with a map of old to new guids (e.g. when instantiate generated new guids and e.g. timeline track bindings needs to remape them)

    Parameters

    • guidsMap: GuidsMap

    Returns void

  • Parameters

    • x: number
    • y: number
    • z: number
    • w: number

    Returns void

  • Parameters

    • x: number
    • y: number
    • z: number
    • degrees: boolean = true

    Returns void

  • Parameters

    • routine: Generator<unknown, any, unknown>
    • evt: FrameEvent = FrameEvent.Update

    Returns void

Generated using TypeDoc