Buffered scene graph property that allows weighted accumulation; used internally.
Constructor
new PropertyMixer( binding : PropertyBinding, typeName : string, valueSize : number )
Constructs a new property mixer.
bindingThe property binding.
typeNameThe keyframe track type name.
valueSizeThe keyframe track value size.
Properties
.binding : PropertyBinding
The property binding.
.cumulativeWeight : number
TODO
Default is 0.
.cumulativeWeightAdditive : number
TODO
Default is 0.
.referenceCount : number
TODO
Default is 0.
.useCount : number
TODO
Default is 0.
.valueSize : number
The keyframe track value size.
Methods
.accumulate( accuIndex : number, weight : number )
Accumulates data in the incoming region into accu<i>.
accuIndexThe accumulation index.
weightThe weight.
.accumulateAdditive( weight : number )
Accumulates data in the incoming region into add.
weightThe weight.
.apply( accuIndex : number )
Applies the state of accu<i> to the binding when accus differ.
accuIndexThe accumulation index.
.restoreOriginalState()
Applies the state previously taken via PropertyMixer#saveOriginalState to the binding.
.saveOriginalState()
Remembers the state of the bound property and copy it to both accus.