Component:CameraPermissions: Difference between revisions

From Resonite Wiki
imported>3x1t 5tyl3
No edit summary
 
Automated: update Fields
(One intermediate revision by one other user not shown)
Line 15: Line 15:
{{Table ComponentFields
{{Table ComponentFields
|CameraModeFilterMode|ListFilterMode|Whether to allow or disallow the <code>CameraModes</code>
|CameraModeFilterMode|ListFilterMode|Whether to allow or disallow the <code>CameraModes</code>
|CameraModes|SyncFieldList`1|TypeString1=SyncFieldList<CameraPositioningMode>|List of Camera modes which decide how the camera looks at users/the world.
|CameraModes|{{RootFieldType|SyncFieldList`1|[[Type:CameraPositioningMode|CameraPositioningMode]]}}|TypeAdv1=true|List of Camera modes which decide how the camera looks at users/the world.
|AllowFramingOtherUsers|Bool|Determines whether focusing the camera on other user is allowed.
|AllowFramingOtherUsers|Bool|Determines whether focusing the camera on other user is allowed.
}}
}}

Revision as of 20:55, 3 March 2024


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


Component image 
Camera Permissions component as seen in the Scene Inspector


Intoduction

The CameraPermissions component allows you to set up who can use which camera mode.

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.
CameraModeFilterMode ListFilterMode Whether to allow or disallow the CameraModes
CameraModes direct SyncFieldList`1<CameraPositioningMode> List of Camera modes which decide how the camera looks at users/the world.
AllowFramingOtherUsers Bool Determines whether focusing the camera on other user is allowed.

Usage

Adding an item to the list and giving it the appropriate item from the CameraModes which will then determine what camera mode methods users of that role are allowed to use.

Examples

If the Filter is set to Whitelist and given Group and the component is set to Guest as the role: It will allow Guest users to only use Group as a way to record their surroundings.

Related Components