PlacementEventData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Describes placement of objects events.
public ref class PlacementEventData : Microsoft::MixedReality::Toolkit::GenericBaseEventData
public class PlacementEventData : Microsoft.MixedReality.Toolkit.GenericBaseEventData
type PlacementEventData = class
inherit GenericBaseEventData
Public Class PlacementEventData
Inherits GenericBaseEventData
- Inheritance
Constructors
PlacementEventData(EventSystem) |
Constructor. |
Properties
EventSource |
The Event Source that the event originates from. (Inherited from GenericBaseEventData) |
EventTime |
The UTC time at which the event occurred. (Inherited from GenericBaseEventData) |
ObjectBeingPlaced |
The game object that is being placed. |
selectedObject |
The BaseEventData.selectedObject is explicitly hidden because access to it (either via get or set) throws a NullReferenceException in typical usage within the MRTK. Prefer using the subclasses own fields to access information about the event instead of fields on BaseEventData. (Inherited from GenericBaseEventData) |
Methods
BaseInitialize(IMixedRealityEventSource) |
Used to initialize/reset the event and populate the data. (Inherited from GenericBaseEventData) |
Initialize(IMixedRealityEventSource, GameObject) |
Populates the event with data. |