Difference between revisions of "Float2Driver (Component)"

From Neos Wiki
Jump to navigation Jump to search
(Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=Float2DriverComponent.png |Name=Float 2Driver }} <!--T:2--> == Fields == {{Table ComponentF...")
 
(Wrote Article.)
 
Line 7: Line 7:
 
|Name=Float 2Driver
 
|Name=Float 2Driver
 
}}
 
}}
 +
 +
The Float2Driver component can be used to drive a foat2 value, based on an X and a Y value.
  
 
<!--T:2-->
 
<!--T:2-->
 
== Fields ==
 
== Fields ==
 
{{Table ComponentFields
 
{{Table ComponentFields
|X|Sync`1|TypeString0=Sync<float>|
+
|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.
|Y|Sync`1|TypeString1=Sync<float>|
+
|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.
|Target|IField`1|TypeString2=IField<float2>|
+
|Target|IField`1|TypeString2=IField<float2>| The field that is driven to the constructed float2.
 
}}
 
}}
  
Line 23: Line 25:
  
 
<!--T:5-->
 
<!--T:5-->
 +
== Related Issues ==
 +
[https://github.com/Neos-Metaverse/NeosPublic/issues/2396 <s>#2396 - Recategorize Float2/3/4 driver to Transform > Drivers</s>]
 +
 +
<!--T:6-->
 
== Related Components ==
 
== Related Components ==
 
</translate>
 
</translate>

Latest revision as of 10:52, 25 December 2021


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


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 Sync<float> The field that holds the X value for the float2. If null, the X component of the float2 will be 0.
Y Sync<float> The field that holds the Y value for the float2. If null, the Y component of the float2 will be 0.
Target IField<float2> The field that is driven to the constructed float2.

Usage

Examples

Related Issues

#2396 - Recategorize Float2/3/4 driver to Transform > Drivers

Related Components