Class PlacementEventData
Describes placement of objects events.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit
Assembly: cs.temp.dll.dll
Syntax
public class PlacementEventData : GenericBaseEventData
Constructors
PlacementEventData(EventSystem)
Constructor.
Declaration
public PlacementEventData(EventSystem eventSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| EventSystem | eventSystem | Usually EventSystems.EventSystem.current |
Properties
ObjectBeingPlaced
The game object that is being placed.
Declaration
public GameObject ObjectBeingPlaced { get; }
Property Value
| Type | Description |
|---|---|
| GameObject |
Methods
Initialize(IMixedRealityEventSource, GameObject)
Populates the event with data.
Declaration
public void Initialize(IMixedRealityEventSource eventSource, GameObject objectBeingPlaced)
Parameters
| Type | Name | Description |
|---|---|---|
| IMixedRealityEventSource | eventSource | |
| GameObject | objectBeingPlaced |