Edytuj

Udostępnij za pośrednictwem


BoundaryEventData Class

Definition

The data describing the boundary system event.

public ref class BoundaryEventData : Microsoft::MixedReality::Toolkit::GenericBaseEventData
public class BoundaryEventData : Microsoft.MixedReality.Toolkit.GenericBaseEventData
type BoundaryEventData = class
    inherit GenericBaseEventData
Public Class BoundaryEventData
Inherits GenericBaseEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
BoundaryEventData

Constructors

BoundaryEventData(EventSystem)

Constructor.

Properties

AreBoundaryWallsVisualized

Are the boundary walls being visualized by the boundary system.

EventSource

The Event Source that the event originates from.

(Inherited from GenericBaseEventData)
EventTime

The UTC time at which the event occurred.

(Inherited from GenericBaseEventData)
IsCeilingVisualized

Is the ceiling being visualized by the boundary system.

IsFloorVisualized

Is the floor being visualized by the boundary system.

IsPlayAreaVisualized

Is the play area being visualized by the boundary system.

IsTrackedAreaVisualized

Is the tracked area being visualized by the boundary system.

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(IMixedRealityBoundarySystem, Boolean, Boolean, Boolean, Boolean, Boolean)

Applies to