Component:CameraPermissions

From Resonite Wiki
This page contains changes which are not marked for translation.
Component image 
Camera Permissions component as seen in the Scene Inspector

The Camera Permissions component allows you to set up who can use certain camera modes on the streaming camera. Currently, the component allows setting permissions for camera modes per role.

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 a stream camera can look at users and/or the world.
AllowFramingOtherUsers Bool Determines whether focusing the camera on other user is allowed.

Usage

First, add an item to the list of camera modes, and select a role at the bottom. Then, use CameraModeFilterMode to determine if users can use any of the items in the list of camera modes.

Examples

If the CameraModeFilterMode field is set to Whitelist and Group is added to the CameraMode list, then the selected role can only use the Group mode with their stream cameras.

Related Components