Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=View Reference Controller | |Name=View Reference Controller | ||
}} | }} | ||
The '''ViewReferenceController''' component is a view controller type component mainly used in desktop mode. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|PositionStream|'''[[Type:ValueStream`1|ValueStream`1]]<[[Type:Float3|Float3]]>'''|TypeAdv0=true| | |PositionStream|'''[[Type:ValueStream`1|ValueStream`1]]<[[Type:Float3|Float3]]>'''|TypeAdv0=true| The source for position values for this component. | ||
|RotationStream|'''[[Type:ValueStream`1|ValueStream`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv1=true| | |RotationStream|'''[[Type:ValueStream`1|ValueStream`1]]<[[Type:FloatQ|FloatQ]]>'''|TypeAdv1=true| The source for rotation values for this component. | ||
|ObjectSlot|'''[[Component:AvatarObjectSlot|AvatarObjectSlot]]'''|TypeAdv2=true| | |ObjectSlot|'''[[Component:AvatarObjectSlot|AvatarObjectSlot]]'''|TypeAdv2=true| The slot this is controlling. | ||
|ShouldVoiceBeActive|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| | |ShouldVoiceBeActive|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| The field to drive with whether the user's voice should be transmitting. | ||
|_objectSlotScale|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv4=true| | |_objectSlotScale|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv4=true| The field to drive with the object scale value. | ||
|_objectSlotActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| | |_objectSlotActive|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv5=true| The field to drive with whether the object slot should be active. | ||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
Line 23: | Line 23: | ||
[[Category:Components:Uncategorized{{#translation:}}|View Reference Controller]] | [[Category:Components:Uncategorized{{#translation:}}|View Reference Controller]] | ||
[[Category:Components{{#translation:}}|View Reference Controller]] | [[Category:Components{{#translation:}}|View Reference Controller]] | ||
Latest revision as of 19:53, 3 August 2025
Component image 
View Reference Controller component as seen in the Scene Inspector

The ViewReferenceController component is a view controller type component mainly used in desktop mode.
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. |
PositionStream
|
ValueStream`1<Float3> | The source for position values for this component. |
RotationStream
|
ValueStream`1<FloatQ> | The source for rotation values for this component. |
ObjectSlot
|
AvatarObjectSlot | The slot this is controlling. |
ShouldVoiceBeActive
|
raw output of Bool | The field to drive with whether the user's voice should be transmitting. |
_objectSlotScale
|
field drive of Float3 | The field to drive with the object scale value. |
_objectSlotActive
|
field drive of Bool | The field to drive with whether the object slot should be active. |