Engine → Scene → components.h
local_transform
| Type | Struct |
| Namespace | conjure::scene |
| Include File Path | engine/include/conjure/scene/components.h |
| Source File Path | engine/src/scene/components.cpp |
| API ↗ | Scenes, hierarchy and prefabs, Scenes and the hierarchy |
Syntax
Variables
| Access | Name | Type | Default | Description |
|---|---|---|---|---|
| public | position | math::vec3 | math::vec3(0.0f) | |
| public | rotation | math::quat | math:: | |
| public | scale | math::vec3 | math::vec3(1.0f) |
Functions
Public
from_transform
from_transform[[nodiscard]] static local_transform from_transform(
const math::transform &value) noexcept;A local_transform holding the values of a math::transform.
to_transform
to_transform[[nodiscard]] math::transform to_transform() const noexcept;The same values as a math::transform.