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

Component:ConvertibleSbyteDriver: Difference between revisions

From Resonite Wiki
989onan (talk | contribs)
add info
989onan bot (talk | contribs)
Automated: update Fields
 
Line 8: Line 8:
{{Table ComponentFields
{{Table ComponentFields
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true| The value to convert.
|Source|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<T>}}|TypeAdv0=true| The value to convert.
|Target|{{RootFieldType|FieldDrive`1|[[Type:Sbyte|Sbyte]]}}|TypeAdv1=true| The field to drive with <code>Source</code> converted into a Sbyte.
|Target|{{RootFieldType|FieldDrive`1|[[Type:SByte|SByte]]}}|TypeAdv1=true| The field to drive with <code>Source</code> converted into a Sbyte.
}}
}}



Latest revision as of 22:29, 16 March 2025

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

The ConvertibleSbyteDriver component is used to convert a value into a Sbyte using the value's convert to Sbyte 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 SByte The field to drive with Source converted into a Sbyte.

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