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