Interface IVRAvatarHead
An extension interface for IVRAvatarLimb representing the head limb.
Inherited Members
Namespace: Liminal.SDK.VR.Avatars
Assembly: Liminal.SDK.dll
Syntax
public interface IVRAvatarHead : IVRAvatarLimb
Properties
| Improve this Doc View SourceActiveEyeCamera
Gets the active eye camera. If UsePerEyeCameras is
true
, this will return LeftEyeCamera if active, otherwise
it will return CenterEyeCamera. This value should be used if you need to reference the camera, but do not need a specific eye camera.
Declaration
Camera ActiveEyeCamera { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Camera |
CenterEyeCamera
Gets the main eye camera assigned to the head.
Declaration
Camera CenterEyeCamera { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Camera |
Headset
Gets the IVRHeadset currently assigned to this limb.
Declaration
IVRHeadset Headset { get; }
Property Value
Type | Description |
---|---|
IVRHeadset |
LeftEyeCamera
Gets the main eye camera assigned to the head.
Declaration
Camera LeftEyeCamera { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Camera |
RightEyeCamera
Gets the main eye camera assigned to the head.
Declaration
Camera RightEyeCamera { get; }
Property Value
Type | Description |
---|---|
UnityEngine.Camera |
UsePerEyeCameras
Determines if the left/right eye cameras are used, or if center eye camera is used. If true, the left and right eye cameras are used and the center eye camera is disabled. If false, the center eye camera is used and the left/right eye cameras are disabled.
Declaration
bool UsePerEyeCameras { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Events
| Improve this Doc View SourceActiveCameraChanged
Raised when the active camera is changed.
Declaration
event ActiveCameraChangedEventHandler ActiveCameraChanged
Event Type
Type | Description |
---|---|
ActiveCameraChangedEventHandler |