اقرأ باللغة الإنجليزية تحرير

مشاركة عبر


MixedRealityTransform Struct

Definition

A structure that wraps position, rotation, and scale structures.

C#
[System.Serializable]
public struct MixedRealityTransform : System.Collections.IEqualityComparer
Inheritance
MixedRealityTransform
Attributes
Implements

Constructors

Properties

Forward

The Z axis of the pose in world space.

Identity

The default value for a Six DoF Transform.

Position

The position of the transform.

Right

The X axis of the pose in world space.

Rotation

The rotation of the transform.

Scale

The scale of the transform.

Up

The Y axis of the pose in world space.

Methods

Equals(MixedRealityTransform)

Test if the given MixedRealityTransform is equal to this structure.

Equals(Object)

Indicates whether this instance and a specified object are equal.

GetHashCode()

Returns the hash code for this instance.

NewRotate(Quaternion)

Create a transform with only given rotation

NewScale(Vector3)

Create a transform with only given scale

NewTranslate(Vector3)

Create a transform with only given position

ToString()

Returns the fully qualified type name of this instance.

Operators

Explicit Interface Implementations

IEqualityComparer.Equals(Object, Object)

Determines whether the specified objects are equal.

IEqualityComparer.GetHashCode(Object)

Returns a hash code for the specified object.

Applies to

منتج الإصدارات
MRTK3 Core Definitions 3.0, 3.1, 3.2