DAZ Script | |
---|---|
AnimationBlendMode | { HSV, HSL, RGB } |
DAZ Script | |
---|---|
AnimationBlendMode | animationBlendModeFromStr ( String str ) |
String | animationBlendModeToStr ( AnimationBlendMode type ) |
DAZ Script |
---|
DzColorProperty () |
DzColorProperty ( String name, Boolean canAnimate, Boolean isUserProperty, Color initVal ) |
DzColorProperty ( String name, Boolean canAnimate, Boolean isUserProperty ) |
DAZ Script | |
---|---|
AnimationBlendMode | getAnimationBlendMode () |
Color | getColorValue () |
Color | getColorValue ( DzTime tm ) |
Color | getDefaultColorValue () |
Color | getKeyColorValue ( Number i ) |
Color | getRawColorValue ( DzTime tm ) |
Color | getRawColorValue () |
void | setAnimationBlendMode ( AnimationBlendMode mode ) |
void | setColorValue ( DzTime tm, Color val ) |
void | setColorValue ( Color val ) |
void | setDefaultColorValue ( Color val ) |
void | setKeyColorValue ( Number i, Color val ) |
void | animationBlendModeChanged () |
This class provides an animatable color property that is stored and can be accessed as an integer property. The integer value represents a color as a 32 bit rgba value with each byte representing a component with the range [0, 255].
The color model that will used for blending values between keyframes in an animation.
AnimationBlendMode : animationBlendModeFromStr( String str )
Converts a string to an enumerated animation blend mode value.
Parameter(s):
Return Value:
str
.Since:
String : animationBlendModeToStr( AnimationBlendMode type )
Converts an enumerated animation blend mode value to a string.
Parameter(s):
Return Value:
Since:
Default Constructor. Creates a non-animatable, non-user property.
DzColorProperty( String name, Boolean canAnimate, Boolean isUserProperty, Color initVal )
Parameter(s):
true
, creates an animatable property.true
, creates a user property; user properties are properties that can be added/deleted by users.DzColorProperty( String name, Boolean canAnimate, Boolean isUserProperty )
Parameter(s):
true
, creates an animatable property.true
, creates a user property; user properties are properties that can be added/deleted by users.AnimationBlendMode : getAnimationBlendMode()
Return Value:
Since:
Color : getColorValue()
Return Value:
Color : getColorValue( DzTime tm )
Parameter(s):
Return Value:
Color : getDefaultColorValue()
Return Value:
Color : getKeyColorValue( Number i )
Parameter(s):
Return Value:
Color : getRawColorValue( DzTime tm )
Parameter(s):
Return Value:
Return Value:
void : setAnimationBlendMode( AnimationBlendMode mode )
Sets the animation blend mode for the property.
Parameter(s):
Since:
void : setColorValue( DzTime tm, Color val )
Sets the color value for this property at the given time; or the default value if this property is not animatable.
Parameter(s):
void : setColorValue( Color val )
Sets the color value for this property at the current time; or the default value if this property is not animatable.
Parameter(s):
void : setDefaultColorValue( Color val )
Sets the default color value for this property.
Parameter(s):
void : setKeyColorValue( Number i, Color val )
Sets the color value of this property for the given key.
Parameter(s):
void : animationBlendModeChanged()
Signature:“animationBlendModeChanged()”
Emitted when the animation blend mode for this property has changed.