|
Grindstone Game Engine v0.2.0
An open source game engine and toolkit.
|
Public Member Functions | |
| void | SetLocalMatrix (Math::Matrix4 localMatrix) |
| void | SetWorldMatrixRelativeTo (Math::Matrix4 newWorldMatrix, Math::Matrix4 parentMatrix) |
| Math::Matrix4 | GetTransformMatrix () const |
| Math::Float3 | GetForward () const |
| Math::Float3 | GetRight () const |
| Math::Float3 | GetUp () const |
| TransformComponent (System.IntPtr componentPtr) | |
Static Public Member Functions | |
| static Math::Matrix4 | GetWorldTransformMatrix (ECS::Entity entity) |
| static Math::Matrix4 | GetWorldTransformMatrix (entt::entity entity, const entt::registry ®istry) |
| static Math::Float3 | GetWorldPosition (const ECS::Entity entity) |
| static Math::Float3 | GetWorldPosition (const entt::entity entity, const entt::registry ®istry) |
Public Attributes | |
| Math::Quaternion | rotation = Math::Quaternion(0.0f, 0.0f, 0.0f, 1.0f) |
| Math::Float3 | position = Math::Float3(0.0f, 0.0f, 0.0f) |
| Math::Float3 | scale = Math::Float3(1.f, 1.f, 1.f) |
Properties | |
| Quaternion | Rotation [get, set] |
| Float3 | Position [get, set] |
| Float3 | Scale [get, set] |
| Float3 | Forward [get] |
| Float3 | Right [get] |
| Float3 | Up [get] |