Component:ConvertibleUlongDriver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Convertible Ulong Driver`1
|Name=Convertible Ulong Driver`1
}}
}}
{{stub}}
The '''ConvertibleUlongDriver''' component is used to convert a value into a Ulong using the value's convert to Ulong method.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true|
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true| The value to convert.
|Target|{{RootFieldType|FieldDrive`1|[[Type:Ulong|Ulong]]}}|TypeAdv1=true|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Ulong|Ulong]]}}|TypeAdv1=true| The field to drive with <code>Source</code> converted into a Ulong.
}}
}}


== Behavior ==
== Usage ==
Used to convert values from one type into another via Components rather than [[ProtoFlux]].


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components{{#translation:}}|Convertible Ulong Driver`1]]
[[Category:Components{{#translation:}}|Convertible Ulong Driver`1]]
[[Category:Generic Components{{#translation:}}|Convertible Ulong Driver`1]]
[[Category:Generic Components{{#translation:}}|Convertible Ulong Driver`1]]
[[Category:ComponentStubs]]

Latest revision as of 20:40, 13 February 2025

Component image 
Convertible Ulong Driver`1 component as seen in the Scene Inspector

The ConvertibleUlongDriver component is used to convert a value into a Ulong using the value's convert to Ulong method.

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<T>> The value to convert.
Target field drive of Ulong The field to drive with Source converted into a Ulong.

Usage

Used to convert values from one type into another via Components rather than ProtoFlux.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also