Component:Driver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Driver`1
|Name=Driver`1
}}
}}
{{stub}}
The '''Driver''' component drives a value field via a protoflux output. This is used in [[ProtoFlux]] to utilize output calculations.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Source|'''[[Type:INodeOutput`1|INodeOutput`1]]<T>'''|TypeAdv0=true|
|Source|'''[[Type:INodeOutput`1|INodeOutput`1]]<T>'''|TypeAdv0=true| The node output to get a value from.
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true|
|Target|{{RootFieldType|FieldDrive`1|T}}|TypeAdv1=true| The value to drive with the output acquired from <code>Source</code>.
}}
}}


== Behavior ==
== Usage ==
Not used by the user directly, but is made by Flux drivers.


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 20: Line 22:
[[Category:Components{{#translation:}}|Driver`1]]
[[Category:Components{{#translation:}}|Driver`1]]
[[Category:Generic Components{{#translation:}}|Driver`1]]
[[Category:Generic Components{{#translation:}}|Driver`1]]
[[Category:ComponentStubs]]

Latest revision as of 18:29, 16 February 2025

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

The Driver component drives a value field via a protoflux output. This is used in ProtoFlux to utilize output calculations.

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 INodeOutput`1<T> The node output to get a value from.
Target field drive of T The value to drive with the output acquired from Source.

Usage

Not used by the user directly, but is made by Flux drivers.

Examples

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

See Also