Constructors

Methods

  • Parameters

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

    Returns ActionModel

  • Parameters

    • targetObject: Target
    • duration: number
    • show: boolean

    Returns ActionModel

  • Parameters

    • targets: Target
    • Optionalduration: number
    • Optionalfront: Vec3
    • Optionalup: Vec3

    Returns ActionModel

  • Parameters

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

    Returns ActionModel

  • creates an action that plays an animation

    Parameters

    Returns IBehaviorElement

  • Parameters

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

    Returns ActionModel