Constructors

Methods

  • Parameters

    • targets: any
    • duration: number
    • motionType: EmphasizeActionMotionType = "bounce"
    • moveDistance: number = 1
    • style: "basic" = "basic"

    Returns ActionModel

  • Parameters

    • targetObject: any
    • duration: number
    • show: boolean

    Returns ActionModel

  • Parameters

    • targets: any
    • Optional duration: number
    • Optional front: Vec3
    • Optional up: Vec3

    Returns ActionModel

  • Parameters

    • targets: any
    • audio: string
    • type: PlayAction = "play"
    • gain: number = 1
    • auralMode: AuralMode = "spatial"

    Returns ActionModel

  • creates an action that plays an animation

    Parameters

    • targetObject: any
    • start: number

      offset in seconds!

    • duration: number = 0

      in seconds! 0 means play to end

    • animationSpeed: number = 1
    • reversed: boolean = false
    • pingPong: boolean = false

    Returns IBehaviorElement

  • Parameters

    • targets: any
    • transformTarget: any
    • duration: number
    • transformType: Space
    • easeType: EaseType = "inout"

    Returns ActionModel

Generated using TypeDoc