Edit

Bagikan melalui


MixedRealityTransform Struct

Definition

public value class MixedRealityTransform : System::Collections::IEqualityComparer
[System.Serializable]
public struct MixedRealityTransform : System.Collections.IEqualityComparer
[<System.Serializable>]
type MixedRealityTransform = struct
    interface IEqualityComparer
Public Structure MixedRealityTransform
Implements IEqualityComparer
Inheritance
MixedRealityTransform
Attributes
Implements

Constructors

MixedRealityTransform(Transform)

Constructor.

MixedRealityTransform(Vector3, Quaternion, Vector3)

Constructor.

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)
Equals(Object)
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()

Operators

Addition(MixedRealityTransform, MixedRealityTransform)
Equality(MixedRealityTransform, MixedRealityTransform)
Inequality(MixedRealityTransform, MixedRealityTransform)

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