Component:BooleanReferenceDriver: Difference between revisions

From Resonite Wiki
m ProbablePrime moved page BooleanReferenceDriver (Component) to Component:BooleanReferenceDriver: Creating component Namespace
No edit summary
Line 27: Line 27:
<!--T:5-->
<!--T:5-->
== Related Issues ==
== Related Issues ==
[https://github.com/Neos-Metaverse/NeosPublic/issues/1360 <s>#1360 - Add BooleanReferenceDriver<T></s>]


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

Revision as of 22:30, 24 February 2024


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


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


The BooleanReferenceDriver component is used to drive a reference to one value or another, depending on its State field.

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.
State Bool Determines whether TargetReference should be driven to TrueTarget or to FalseTarget.
TargetReference SyncRef<IWorldElement> The field that should be driven.
FalseTarget IWorldElement The value that the field will be driven to if State is false.
TrueTarget IWorldElement The value that the field will be driven to if State is true.

Usage

Examples

Related Issues

Related Components