An animatable floating-point property with 2 values.
Inherits :
DAZ Script |
---|
DzFloat2Property () |
DzFloat2Property ( String name, Boolean canAnimate, Boolean isUserProperty, DzVec2 defaultVal ) |
DzFloat2Property ( String name, Boolean canAnimate, Boolean isUserProperty ) |
DAZ Script | |
---|---|
DzVec2 | adjustFloat2Value ( DzVec2 val ) |
DzVec2 | adjustFloat2Value ( DzTime tm, DzVec2 val ) |
DzVec2 | getDefaultFloat2Value () |
DzVec2 | getFloat2FollowValue () |
DzVec2 | getFloat2FollowValue ( DzTime tm ) |
DzVec2 | getFloat2Value () |
DzVec2 | getFloat2Value ( DzTime tm ) |
DzVec2 | getKeyFloat2Value ( Number i ) |
DzVec2 | getLocalFloat2Value () |
DzVec2 | getLocalFloat2Value ( DzTime tm ) |
DzVec2 | getRawFloat2Value ( DzTime tm ) |
DzVec2 | getRawFloat2Value () |
void | setDefaultFloat2Value ( DzVec2 val ) |
void | setFloat2Value ( DzTime tm, DzVec2 val ) |
void | setFloat2Value ( DzVec2 val ) |
void | setFloat2Value ( DzTime tm, DzVec2 val, InterpolationType interp ) |
void | setFloat2Value ( DzTime tm, DzVec2 valIn, InterpolationType interp, Number param0, Number param1, Number param2 ) |
void | setKeyFloat2Value ( Number i, DzVec2 val ) |
This class provides an animatable floating-point property with 2 values that is stored and can be accessed as a DzVec2.
Since:
Default Constructor. Creates a non-animatable, non-user property.
DzFloat2Property( String name, Boolean canAnimate, Boolean isUserProperty, DzVec2 defaultVal )
Parameter(s):
true
, creates an animatable property.true
, creates a user property; user properties are properties that can be added/deleted by users.DzFloat2Property( 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.DzVec2 : adjustFloat2Value( DzVec2 val )
Adjust the value of the property based on the contribution of property controllers.
Parameter(s):
Return Value:
DzVec2 : adjustFloat2Value( DzTime tm, DzVec2 val )
Adjust the value of the property at the given time based on the contribution of property controllers.
Parameter(s):
Return Value:
DzVec2 : getDefaultFloat2Value()
Return Value:
DzVec2 : getFloat2FollowValue()
Return Value:
DzVec2 : getFloat2FollowValue( DzTime tm )
Parameter(s):
Return Value:
tm
. If no auto-follow property is set, or auto-follow is not enabled for this property, then this method returns 0.DzVec2 : getFloat2Value()
Return Value:
DzVec2 : getFloat2Value( DzTime tm )
Parameter(s):
Return Value:
DzVec2 : getKeyFloat2Value( Number i )
Parameter(s):
Return Value:
DzVec2 : getLocalFloat2Value()
This function is provided for the special case of ERC link redirection; sometimes called 'cross-talk'. For example, if Figure A (a piece of clothing, for example) is 'Fit To' Figure B, the ERC links on Figure A are redirected to follow channels on Figure B; this is how morphs on an item of clothing will follow morphs on the figure, etc. This function will provide the value of the property ignoring any redirection of ERC links. So, for a figure that is not 'Fit To' another figure, this will return the same value as getValue(). For a figure that is 'Fit To' another figure, this will return the value that the property would have if the ERC link had not been redirected.
Return Value:
DzVec2 : getLocalFloat2Value( DzTime tm )
This function is provided for the special case of ERC link redirection; sometimes called 'cross-talk'. For example, if Figure A (a piece of clothing, for example) is 'Fit To' Figure B, the ERC links on Figure A are redirected to follow channels on Figure B; this is how morphs on an item of clothing will follow morphs on the figure, etc. This function will provide the value of the property ignoring any redirection of ERC links. So, for a figure that is not 'Fit To' another figure, this will return the same value as getValue(). For a figure that is 'Fit To' another figure, this will return the value that the property would have if the ERC link had not been redirected.
Parameter(s):
Return Value:
DzVec2 : getRawFloat2Value( DzTime tm )
This function is provided to make it easy to get the 'keyed' value of the property without any modifications. When the value of a property is evaluated, first the value based on key interpolation is calculated, that value is then passed to each of the controllers on the property (ERC links for example) which can modify that value. This modified value is then returned as the value of the property by getFloat2Value(). This function returns the value of the property before the application of the controllers; strictly the result of key interpolation.
Parameter(s):
Return Value:
This function is provided to make it easy to get the 'keyed' value of the property without any modifications. When the value of a property is evaluated, first the value based on key interpolation is calculated, that value is then passed to each of the controllers on the property (ERC links for example) which can modify that value. This modified value is then returned as the value of the property by getFloat2Value(). This function returns the value of the property before the application of the controllers; strictly the result of key interpolation.
Return Value:
void : setDefaultFloat2Value( DzVec2 val )
Sets the default value for this property.
Parameter(s):
void : setFloat2Value( DzTime tm, DzVec2 val )
Sets the value for this property at the given time; or the default value if this property is not animatable.
Parameter(s):
void : setFloat2Value( DzVec2 val )
Sets the value for this property at the current time; or the default value if this property is not animatable.
Parameter(s):
void : setFloat2Value( DzTime tm, DzVec2 val, InterpolationType interp )
Sets the value for this property at the given time; or the default value if this property is not animatable.
Parameter(s):
void : setFloat2Value( DzTime tm, DzVec2 valIn, InterpolationType interp, Number param0, Number param1, Number param2 )
Sets the value for this property at the given time; or the default value if this property is not animatable.
Parameter(s):
void : setKeyFloat2Value( Number i, DzVec2 val )
Sets the value of the i'th key.
Parameter(s):
Attention: