Struct PointerOption
Defines a pointer option to assign to a controller.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public struct PointerOption
Constructors
PointerOption(SupportedControllerType, Handedness, GameObject)
Constructor.
Declaration
public PointerOption(SupportedControllerType controllerType, Handedness handedness, GameObject pointerPrefab)
Parameters
Type | Name | Description |
---|---|---|
SupportedControllerType | controllerType | |
Handedness | handedness | |
GameObject | pointerPrefab |
Properties
ControllerType
The type of Controller this pointer will attach itself to at runtime.
Declaration
public SupportedControllerType ControllerType { get; }
Property Value
Type | Description |
---|---|
SupportedControllerType |
Remarks
If None is selected, then it will attach to any controller type
Handedness
Defines which hand to create the pointer prefab on.
Declaration
public Handedness Handedness { get; }
Property Value
Type | Description |
---|---|
Handedness |
PointerPrefab
Declaration
public GameObject PointerPrefab { get; }
Property Value
Type | Description |
---|---|
GameObject |