CGElasticB02
Info
typeClass
namespaceAnimatext.Effects
inheritanceDefaultTemplateEffect
Fields
anchorOffsetVector2The offset of the unit anchor.
anchorTypeAnchorTypeThe anchor type of the unit anchor.
continuousEasingboolWhether the easing is continuous. "Yes" means the easing value is from 0 to 1 and then from 1 to 0. "No" means the easing value is from 0 to 1 and then from -1 to 0.
easingTypeEasingTypeThe easing type of the preset.
oscillationsintThe number of full oscillations.
positionAVector2The end position of elastic easing.
positionBVector2The end position of extra elastic easing.
rotationfloatThe end rotation of elastic easing.
scaleVector2The end scale of extra elastic easing.
singleTimefloatThe animation time of single unit.
sortTypeSortTypeThe order of unit execution.
startPositionVector2The start position of elastic easing and extra elastic easing.
startRotationfloatThe start rotation of elastic easing.
startScaleVector2The start scale of extra elastic easing.
stiffnessfloatThe oscillation stiffness. The higher stiffness means the oscillation will reduce in intensity faster.
Properties
Protected
-
unitCountintThe count of the units.
overrideDefaultTemplateEffect.unitCount
-
unitTimefloatThe animation time of single unit.
overrideDefaultTemplateEffect.unitTime
Public
-
infoFlagsInfoFlagsThe info flags of the preset.
overrideBaseEffect.infoFlags
Methods
Protected
-
Animate()Animates the units of the preset.
overrideBaseEffect.Animate