|
| | Wand () |
| |
| void | ResetParticles () |
| | Resets the ambient particle emitter to its default state. More...
|
| |
| TTool | AddTool< TTool > () |
| | Adds a wand tool of the given type to this wand. More...
|
| |
| WandTool | AddTool (Type type) |
| | Adds a wand tool of the given type to this wand. More...
|
| |
| void | AddFavoriteTool< TTool > () |
| |
| void | AddFavoriteTool (Type type) |
| |
| void | RemoveFavoriteTool< TTool > () |
| |
| void | RemoveFavoriteTool (Type type) |
| |
| void | SwitchToNextFavoriteTool () |
| |
| bool | IsToolFavorited< TTool > () |
| |
| bool | IsToolFavorited (Type type) |
| |
| TTool | ActivateTool< TTool > () |
| |
| WandTool | ActivateTool (Type type) |
| |
| Vector | GetCursorPosition (float distance=1f/16f) |
| | Gets the world space position of a point a given relative distance from the front tip of the wand. More...
|
| |
| IntVector | GetCursorBlockPosition (float distance=1f/16f) |
| | Gets the world block space position of a point a given relative distance from the front tip of the wand. More...
|
| |
| void | HapticFeedback (HapticFeedbackType type) |
| |
| void | TriggerHapticPulse (int durationMicroSeconds=500) |
| | Triggers haptic feedback on the controller for the given duration in microseconds. More...
|
| |
| void | ClearToolTips () |
| | Wipes all text from button tool tips on this wand. More...
|
| |
| void | DestroyComponent () |
| | Removes this component from the entity that contains it. More...
|
| |
| void | DestroyEntity () |
| | Removes the entity containing this component from the world, along with any child entities. More...
|
| |
| override string | ToString () |
| | Returns a string representing this component with the format "TypeName (EntityName)." More...
|
| |
| Entity | CreateChild () |
| | Creates a new Entity parented to this one. More...
|
| |
| TComponent | CreateChildWithComponent< TComponent > () |
| | Creates a new Entity parented to this one with a component of the given type, which is returned. More...
|
| |
| Entity | FindChild (string name, bool recurse=true) |
| | Attempts to find a child Entity of this one with the given name, and optionally searches recursively through all children. Null is returned if no matches are found. More...
|
| |
| TComponent | FindChildComponent< TComponent > (string name, bool recurse=true) |
| | Attempts to find a child Entity of this one with the given name, and optionally searches recursively through all children. If a matching Entity is found, a component of the given type is retrieved from it. Null is returned if no matches are found. More...
|
| |
| Entity | FindParent (string name) |
| | Attempts to find an Entity that contains this Object's Entity with the given Name. Returns null if no match is found. More...
|
| |
| TComponent | FindParentComponent< TComponent > () |
| | Attempts to find an Entity that contains this Object's Entity with a component of the given type. If a matching Entity is found, the component of the given type is retrieved from it. Returns null if no match is found. More...
|
| |
| TComponent | FindParentComponent< TComponent > (string name) |
| | Attempts to find an Entity that contains this Object's Entity with the given Name. If a matching Entity is found, a component of the given type is retrieved from it. Returns null if no match is found. More...
|
| |
| TComponent | AddComponent< TComponent > () |
| | Adds a component of the specified type to this entity, returning the new component. More...
|
| |
| TComponent | GetOrAddComponent< TComponent > () |
| | Attempts to get a component of the specified type from this entity, adding it if one doesn't already exist. More...
|
| |
| TComponent | GetComponent< TComponent > () |
| | Attempts to get a component of the specified type from this entity, returning null if one doesn't exist. More...
|
| |
| IEnumerable< TComponent > | GetComponents< TComponent > () |
| | Gets all components derived from the given type. More...
|
| |
|
| override void | OnInitialize () |
| | Called only once, when the component is first attached to an entity and is ready to add or retrieve other components. More...
|
| |
| override void | OnDestroy () |
| | Called when this component is removed, or the parent entity is destroyed. More...
|
| |
| override void | OnDisable () |
| | Called each time this component goes from being enabled to disabled. More...
|
| |
| override void | OnPhysicsUpdate () |
| | Called at a fixed time step for any time dependant physics calculations. More...
|
| |
| object | Wait (float timeSeconds) |
| | Suspends coroutine operation for the given time when yielded. More...
|
| |
| object | StartCoroutine (IEnumerator routine) |
| | Starts execution of a coroutine. More...
|
| |
| virtual void | OnSave (BinaryWriter writer) |
| | Implement this and OnLoad to enable serialization of this component when the parent entity saves. More...
|
| |
| virtual void | OnLoad (BinaryReader reader) |
| | Implement this and OnSave to enable serialization of this component when the parent entity saves. More...
|
| |
| virtual void | OnEnable () |
| | Called each time this component goes from being disabled to enabled. More...
|
| |
| virtual void | OnUpdate () |
| | Called once per world update if this component and its parent entity are enabled. More...
|
| |
| virtual void | OnPreRender () |
| | Called just before the entity containing this component is rendered. More...
|
| |
|
| ParticleEmitter | Particles [get] |
| | Ambient particle emitter for this wand. More...
|
| |
| SoundEmitter | Sounds [get] |
| |
| Holder | Holder [get] |
| |
| WandHand | Hand [get, set] |
| |
| WandModel | Model [get, set] |
| |
| Pointer | Pointer [get] |
| | Pointer used for pointing out locations in 3D space. More...
|
| |
| WandButton | Grip [get] |
| | Side grip buttons. More...
|
| |
| WandButton | HairTrigger [get] |
| | Trigger threshold button. More...
|
| |
| WandButton | TrackPad [get] |
| | Track pad button triggered when pressed. More...
|
| |
| WandButton | TrackPadTouch [get] |
| | Track pad button triggered when touched. More...
|
| |
| WandButton | ApplicationMenu [get] |
| | Application menu (red) button. More...
|
| |
| float | TriggerValue [get, set] |
| | Current analogue value of the trigger. More...
|
| |
| Vector | TrackPadValue [get, set] |
| | Current touch position on the track pad. More...
|
| |
| Vector | TrackPadDelta [get, set] |
| |
| Transform | RightGripTransform [get] |
| | Transformation of the right grip button. More...
|
| |
| Transform | LeftGripTransform [get] |
| | Transformation of the left grip button. More...
|
| |
| Transform | TriggerTransform [get] |
| | Transformation of the trigger. More...
|
| |
| Transform | TrackPadTransform [get] |
| | Transformation of the track pad. More...
|
| |
| Transform | ApplicationMenuTransform [get] |
| | Transformation of the application menu button. More...
|
| |
| ToolTip | GripToolTip [get] |
| | Tool tip used to describe the function of the grips. More...
|
| |
| ToolTip | TriggerToolTip [get] |
| | Tool tip used to describe the function of the trigger. More...
|
| |
| ToolTip | TrackPadToolTip [get] |
| | Tool tip used to describe the function of the track pad. More...
|
| |
| TrackPadDial | TrackPadDial [get] |
| | When enabled, can be used to emulate a rotating dial on the track pad. More...
|
| |
| float | MenuScrollDelta [get] |
| |
| Vector | Velocity [get] |
| | Last sampled world space velocity of the wand. More...
|
| |
| MenuPanel | CurrentPointedMenuPanel [get] |
| |
| MenuPanel | CurrentHeldMenuPanel [get] |
| |
| MenuPanelRaycastHit | CurrentMenuPanelRaycastHit [get] |
| |
| bool | HasSnappedHeldMenuPanel [get] |
| |
| Holdable | CurrentPointedHoldable [get] |
| |
| Entity | Entity [get] |
| | The entity this instance is attached to. More...
|
| |
| bool | IsSavingImplemented [get] |
| | If true, OnSave and OnLoad have been implemented for this type. More...
|
| |
| bool | Enabled [get, set] |
| | Enabled components will be updated, assuming they are within enabled entities. More...
|
| |
| abstract bool | IsValid [get] |
| | Tests to see if this object hasn't been removed. More...
|
| |
| virtual string | Name [get, set] |
| | Custom name associated with this Object's Entity, used to find the Entity in the hierarchy. More...
|
| |
| virtual Transform | Transform [get] |
| | Transformation of this Object's Entity. More...
|
| |
| virtual IWorld | World [get] |
| | The IWorld that contains this Object. More...
|
| |
| Entity | Entity [get] |
| |
| bool | IsSavingImplemented [get] |
| |
| bool | Enabled [get, set] |
| |
| bool | IsValid [get] |
| |
| string | Name [get, set] |
| |
| Transform | Transform [get] |
| |
| IWorld | World [get] |
| |
Interface for a motion controller.