- Derived from
The LocalTransform class transform from terrain-space to a local coordinate system.
The coordinate system axes are defined as follows:
Aligned with terrain side-vector at the given coordinates.
side = cross(up, north).
The side vector points westwards for CartesianHandedness.RightHanded and eastwards for CartesianHandedness.LeftHanded.
Aligned with terrain up-vector at the given coordinates.
Perpendicular to side-vector and up-vector, pointing northwards.
- See also
Creates a new instance of LocalTransform.
Heightmap coordinates of the origin of the local coordinate system.
Defaults to Vec3D.Zero.