Leviathan game engine
Leviathan::Transform Struct Reference

World transform for an object. More...

#include <SceneNode.h>

Public Attributes

Float3 Translation = Float3(0.f, 0.f, 0.f)
Float3 Scale = Float3(1.f, 1.f, 1.f)
Quaternion Orientation = Quaternion::IDENTITY

Detailed Description

World transform for an object.

This is used to keep these properties together when applying parent positioning and transforms

Definition at line 23 of file SceneNode.h.

Member Data Documentation

◆ Orientation

Quaternion Leviathan::Transform::Orientation = Quaternion::IDENTITY

Definition at line 27 of file SceneNode.h.

◆ Scale

Float3 Leviathan::Transform::Scale = Float3(1.f, 1.f, 1.f)

Definition at line 26 of file SceneNode.h.

◆ Translation

Float3 Leviathan::Transform::Translation = Float3(0.f, 0.f, 0.f)

Definition at line 25 of file SceneNode.h.

The documentation for this struct was generated from the following file: