You.i Engine
CYITransformComponent Struct Reference

Detailed Description

A minimal transform component.

Alternate transform components may be based on this struct.

#include <scenetree/YiTransformComponent.h>

Public Attributes

bool isRotated
bool isOriented
glm::vec3 position
glm::quat rotation
glm::vec3 scale
glm::vec3 anchorPoint
CYIComponentPoolUID parentID
uint32_t childCount
glm::mat4x3 local
glm::mat4x3 world

Member Data Documentation

◆ anchorPoint

glm::vec3 CYITransformComponent::anchorPoint

◆ childCount

uint32_t CYITransformComponent::childCount

◆ isOriented

bool CYITransformComponent::isOriented

◆ isRotated

bool CYITransformComponent::isRotated

◆ local

glm::mat4x3 CYITransformComponent::local

◆ parentID

CYIComponentPoolUID CYITransformComponent::parentID

◆ position

glm::vec3 CYITransformComponent::position

◆ rotation

glm::quat CYITransformComponent::rotation

◆ scale

glm::vec3 CYITransformComponent::scale

◆ world

glm::mat4x3 CYITransformComponent::world

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