Component:Float2Driver: Difference between revisions

From Resonite Wiki
No edit summary
not a stub
 
(One intermediate revision by one other user not shown)
Line 13: Line 13:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|X|Sync`1|TypeString0=Sync<float>| The field that holds the X value for the float2. If null, the X component of the float2 will be 0.
|X|{{RootFieldType|RelayRef`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv0=true| The field that holds the X value for the float2. If null, the X component of the float2 will be 0.
|Y|Sync`1|TypeString1=Sync<float>| The field that holds the Y value for the float2. If null, the Y component of the float2 will be 0.
|Y|{{RootFieldType|RelayRef`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv1=true| The field that holds the Y value for the float2. If null, the Y component of the float2 will be 0.
|Target|IField`1|TypeString2=IField<float2>| The field that is driven to the constructed float2.
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv2=true| The field that is driven to the constructed float2.
}}
}}


Line 31: Line 31:
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Float 2Driver]]
[[Category:Components{{#translation:}}|Float 2Driver]]
[[Category:Components:Transform:Drivers{{#translation:}}|Float 2Driver]]
[[Category:Components:Transform:Drivers{{#translation:}}|Float 2Driver]]

Latest revision as of 14:04, 19 October 2024


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


Component image 
Float 2Driver component as seen in the Scene Inspector


The Float2Driver component can be used to drive a foat2 value, based on an X and a Y value.

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.
X direct RelayRef`1<Sync`1<Float>> The field that holds the X value for the float2. If null, the X component of the float2 will be 0.
Y direct RelayRef`1<Sync`1<Float>> The field that holds the Y value for the float2. If null, the Y component of the float2 will be 0.
Target field drive of Float2 The field that is driven to the constructed float2.

Usage

Examples

Related Issues

Related Components