989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
Line 29: | Line 29: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|OnReturnToConnect:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnReturnToConnect:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| A setting changing handler for the panel. | ||
|OnLaunchOBS:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnLaunchOBS:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| A setting changing handler for the panel. | ||
|OnConnect:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnConnect:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| A setting changing handler for the panel. | ||
|OnStream:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnStream:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| A setting changing handler for the panel. | ||
|OnRecord:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OnRecord:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| A setting changing handler for the panel. | ||
}} | }} | ||
Latest revision as of 20:50, 5 April 2025
Component image 
Interactive Camera OBS component as seen in the Scene Inspector

See Camera.
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. |
_canvas
|
Canvas | The canvas being used to show settings. |
_panel
|
LegacyPanel | The legacy panel being used as a base to interact with the settings. |
_currentPanel
|
RectTransform | the rectangle transform of the currently viewed panel. |
_container
|
Slot | The slot to store UI elements. |
CameraControl
|
InteractiveCameraControl | see Interactive Camera Control. |
_connectAddress
|
TextField | The field to read an OBS websocket connect address from. |
_connectPassword
|
TextField | The field to read an OBS websocket connect password from. |
_status
|
Text | The current status of the OBS connection. |
_active
|
Bool | Whether the connection is active |
_streamTime
|
Text | The text to fill with how long the user has been streaming. |
_bytesPerSec
|
Text | The text to fill with how many bytes per second the user is streaming. |
_fps
|
Text | The text to fill with how many frames per second the user is streaming. |
_droppedFrames
|
Text | The text to fill with how many dropped frames the user has had streaming. |
_streamButton
|
Button | the button that will start the streaming process to OBS. |
_recordButton
|
Button | the button to start recording using OBS. |
_recordingStarted
|
direct SyncTime | The field to fill with when the user started recording. |
_launchOBSbutton
|
Button | the button to boot OBS for the user when pressed. |
_autoMirror
|
Checkbox | The button to enable the auto mirror option. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
OnReturnToConnect:ButtonEventHandler
|
ButtonEventHandler | ✓ | A setting changing handler for the panel. |
OnLaunchOBS:ButtonEventHandler
|
ButtonEventHandler | ✓ | A setting changing handler for the panel. |
OnConnect:ButtonEventHandler
|
ButtonEventHandler | ✓ | A setting changing handler for the panel. |
OnStream:ButtonEventHandler
|
ButtonEventHandler | ✓ | A setting changing handler for the panel. |
OnRecord:ButtonEventHandler
|
ButtonEventHandler | ✓ | A setting changing handler for the panel. |
Usage
See Camera.
Examples
See Camera.