Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Component:DoubleToFloatCopy

From Resonite Wiki
Component image 
File:DoubleToFloatCopyComponent.png
Double To Float Copy component as seen in the Scene Inspector

The Double To Float Copy component copies a double field to a float field, while casting it down to the lower precision values of a float. this is useful for copying between these slightly incompatible types (not fully incompatible though as seen in flux).

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Source direct RelayRef`1<IField`1<Double>> The source Double field to copy from.
Target field drive of Float The field to drive with the value of a Float representation of Source
WriteBack Bool Whether changes to Target get written back to Source

Usage

Examples

See Also