Interface IProxy
Declares a class as being a proxy for an input device
Namespace: UnityEditor.Experimental.EditorVR
Syntax
public interface IProxy
Properties
active
Whether the proxy is present and active
Declaration
bool active { get; }
Property Value
Type | Description |
---|---|
Boolean |
alternateMenuOrigins
Origins for alternate menus Key = ray origin Value = alternate menu transform
Declaration
Dictionary<Transform, Transform> alternateMenuOrigins { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<Transform, Transform> |
fieldGrabOrigins
Origins for grabbed list fields Key = ray origin Value = field grab transform
Declaration
Dictionary<Transform, Transform> fieldGrabOrigins { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<Transform, Transform> |
hidden
Whether the proxy is not visible
Declaration
bool hidden { set; }
Property Value
Type | Description |
---|---|
Boolean |
menuOrigins
Origins for where menus show (e.g. main menu) Key = ray origin Value = preview transform
Declaration
Dictionary<Transform, Transform> menuOrigins { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<Transform, Transform> |
previewOrigins
Origins for asset previews Key = ray origin Value = preview transform
Declaration
Dictionary<Transform, Transform> previewOrigins { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<Transform, Transform> |
rayOrigins
The ray origin for each proxy node
Declaration
Dictionary<Node, Transform> rayOrigins { get; }
Property Value
Type | Description |
---|---|
Dictionary<Node, Transform> |
trackedObjectInput
Provided to a proxy for device input (e.g. position / rotation)
Declaration
TrackedObject trackedObjectInput { set; }
Property Value
Type | Description |
---|---|
TrackedObject |
Events
activeChanged
Event called when the active property changes
Declaration
event Action activeChanged
Event Type
Type | Description |
---|---|
Action |