Читати англійською Редагувати

Поділитися через


ManipulationEventData Class

Definition

Information associated with a particular manipulation event.

C++
public ref class ManipulationEventData
Inheritance
ManipulationEventData

Constructors

Properties

IsNearInteraction

Whether the Manipulation is a NearInteration or not.

ManipulationSource

The object being manipulated

Pointer

The pointer manipulating the object or hovering over the object. Will be null for OnManipulationEnded.

PointerAngularVelocity

Pointer's Angular Velocity in Eulers.

PointerCentroid

Center of the ObjectManipulator's Pointer in world space

PointerVelocity

Pointer's Velocity.

Applies to

Продукт Версії
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0