| No edit summary |  Automated: update Fields, Categories | ||
| Line 14: | Line 14: | ||
| {{Table ComponentFields | {{Table ComponentFields | ||
| |State|Bool| Determines whether TargetReference should be driven to TrueTarget or to FalseTarget. | |State|Bool| Determines whether TargetReference should be driven to TrueTarget or to FalseTarget. | ||
| |TargetReference| | |TargetReference|{{RootFieldType|RefDrive`1|T}}|TypeAdv1=true| The field that should be driven. | ||
| |FalseTarget| | |FalseTarget|'''T'''|TypeAdv2=true| The value that the field will be driven to if State is false. | ||
| |TrueTarget| | |TrueTarget|'''T'''|TypeAdv3=true| The value that the field will be driven to if State is true. | ||
| }} | }} | ||
| Line 34: | Line 34: | ||
| [[Category:Generics{{#translation:}}]] | [[Category:Generics{{#translation:}}]] | ||
| [[Category:Components{{#translation:}}|Boolean Reference Driver`1]] | [[Category:Components{{#translation:}}|Boolean Reference Driver`1]] | ||
| [[Category:Generic Components{{#translation:}}|Boolean Reference Driver`1]] | |||
| [[Category:Components:Transform:Drivers{{#translation:}}|Boolean Reference Driver`1]] | [[Category:Components:Transform:Drivers{{#translation:}}|Boolean Reference Driver`1]] | ||
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 
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
| 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. | 
| State | Bool | Determines whether TargetReference should be driven to TrueTarget or to FalseTarget. | 
| TargetReference | direct RefDrive`1<T> | The field that should be driven. | 
| FalseTarget | T | The value that the field will be driven to if State is false. | 
| TrueTarget | T | The value that the field will be driven to if State is true. | 
