Table of Contents

Struct LocalTransform

Namespace
Shard.Gameplay.World
Assembly
Shard.Gameplay.World.dll

Parent-relative position and body rotation for an actively parented entity.

public readonly record struct LocalTransform : IEquatable<LocalTransform>
Implements
Inherited Members

Constructors

LocalTransform(Vector3d, Quaternion)

public LocalTransform(Vector3d position, Quaternion bodyRotation)

Parameters

position Vector3d
bodyRotation Quaternion

Properties

BodyRotation

public Quaternion BodyRotation { get; }

Property Value

Quaternion

Position

public Vector3d Position { get; }

Property Value

Vector3d