Component:Float4Driver: Difference between revisions

From Resonite Wiki
imported>Psychpsyo
Wrote Article.
 
not a component stub
 
(3 intermediate revisions by 2 users 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 float4. If null, the X component of the float4 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 float4. If null, the X component of the float4 will be 0.
|Y|Sync`1|TypeString1=Sync<float>| The field that holds the Y value for the float4. If null, the Y component of the float4 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 float4. If null, the Y component of the float4 will be 0.
|Z|Sync`1|TypeString2=Sync<float>| The field that holds the Z value for the float4. If null, the Z component of the float4 will be 0.
|Z|{{RootFieldType|RelayRef`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv2=true| The field that holds the Z value for the float4. If null, the Z component of the float4 will be 0.
|W|Sync`1|TypeString3=Sync<float>| The field that holds the W value for the float4. If null, the W component of the float4 will be 0.
|W|{{RootFieldType|RelayRef`1|[[Type:Sync`1|Sync`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv3=true| The field that holds the W value for the float4. If null, the W component of the float4 will be 0.
|Target|IField`1|TypeString4=IField<float4>| The field that is driven to the constructed float4.
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float4|Float4]]}}|TypeAdv4=true| The field that is driven to the constructed float4.
}}
}}


Line 28: Line 28:
<!--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-->
== Related Components ==
== Related Components ==
</translate>
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Float 4Driver]]
[[Category:Components{{#translation:}}|Float 4Driver]]
[[Category:Components:Transform:Drivers{{#translation:}}|Float 4Driver]]
[[Category:Components:Transform:Drivers{{#translation:}}|Float 4Driver]]

Latest revision as of 14:05, 19 October 2024


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


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


The Float4Driver component can be used to drive a foat4 value, based on an X, Y, Z and a W 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 float4. If null, the X component of the float4 will be 0.
Y direct RelayRef`1<Sync`1<Float>> The field that holds the Y value for the float4. If null, the Y component of the float4 will be 0.
Z direct RelayRef`1<Sync`1<Float>> The field that holds the Z value for the float4. If null, the Z component of the float4 will be 0.
W direct RelayRef`1<Sync`1<Float>> The field that holds the W value for the float4. If null, the W component of the float4 will be 0.
Target field drive of Float4 The field that is driven to the constructed float4.

Usage

Examples

Related Issues

Related Components