|
EGDL2 2.1
|
A class that represents a network skeleton using OSC communication. More...
Inherits MonoBehaviour.
Public Attributes | |
| bool | hasAuthority |
| Determines if the object has authority or not to change the bone. | |
| bool | isServer |
| Determines if the object is running as a server. | |
| bool | isClient |
| Determines if the object is running as a client in a networked environment. | |
| BoneInfo[] | m_BoneInfos |
| Array of BoneInfo objects that store information about each bone in the skeleton. | |
| bool | globalData = false |
| Represents the global data flag for the NetworkSkeletonOSC class. | |
| Vector3 | posOffset |
| Determines if the object has authority or not to change the bone. | |
| Camera | mainCamera |
| Specifies the main camera used in the scene. | |
| Transform | head |
| Determines if the object has authority or not to change the bone. | |
| OSCReceiver | oscReceiver |
| Transform | oscTransmitterHolder |
| Holds the Transmitter objects responsible for sending OSC messages. | |
| bool | syncRotationX = true |
| Determines if the X-axis rotation of the bone should be synchronized over the network. | |
| bool | syncRotationY = true |
| Determines if the object has authority or not to change the bone. | |
| bool | syncRotationZ = true |
| Determines if the object should synchronize the rotation around the Z-axis. | |
| bool | moving |
| Determines if the object is currently moving. | |
Protected Attributes | |
| Transform | bodyRoot |
| ///////////////////////////////////////////////////////START OF NEW CODE | |
Properties | |
| bool | Connected [get] |
| Determines if the object is connected to an OSC transmitter. | |
| Transform | target [get, set] |
| Determines if the object has authority or not to change the bone. | |
| float | sendInterval [get, set] |
| float | interpolateRotation [get, set] |
| Gets or sets the interpolation factor for rotation. | |
| float | interpolateMovement [get, set] |
| Gets or sets the movement interpolation factor. | |
A class that represents a network skeleton using OSC communication.
A class that represents a network skeleton using OSC communication. Contain functions to send and receive skeleton data using OSC messages.
>
| OSCReceiver Enablegames.NetworkSkeletonOSC.oscReceiver |
The OSC Receiver component responsible for receiving OSC messages.
|
getset |
Gets or sets the movement interpolation factor.
The movement interpolation factor.</
|
getset |
The interval (in seconds) between sending network updates for the object.
A network update is sent as part of the synchronization process to update the state of the object across all connected clients. The send interval determines how frequently the updates are sent. Setting a value of 0 disables the network updates for this object.