Component:Float2Driver: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page Float2Driver (Component) to Component:Float2Driver: Creating component Namespace
Automated: update Fields
 
(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 26: Line 26:
<!--T:5-->
<!--T:5-->
== Related Issues ==
== Related Issues ==
[https://github.com/Neos-Metaverse/NeosPublic/issues/2396 <s>#2396 - Recategorize Float2/3/4 driver to Transform > Drivers</s>]
 


<!--T:6-->
<!--T:6-->

Latest revision as of 21:25, 3 March 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