CLASSES
TagsA - Z

InterpolateValueAction

Action

Description

class InterpolateValueAction extends Action

This action creates an animation to interpolate the current value of a property to a given target.

The supported types are: Float, Color3, Vector3, Matrix and Quaternion

http://doc.babylonjs.com/tutorials/How_to_use_Actions

http://www.babylonjs-playground.com/?17

Constructor

new InterpolateValueAction(triggerOptions, target, propertyPath, value, duration, condition, stopOtherAnimations, onInterpolationDone)

Parameters

Name Type Description
triggerOptions any The trigger
target any The target
propertyPath string Property of the target
value any The target value
optional duration number The duration
optional condition Condition The condition
optional stopOtherAnimations boolean

Members

propertyPath : string

The propertyPath is a string property of your target

value : any

The target value

duration : number

The duration for the given interpolation

stopOtherAnimations : boolean

Set true to stop other animation, false otherwise.

onInterpolationDone : () => void

Methods

execute() → void

serialize(parent) → any

Parameters

Name Type Description
parent any