LkEngine 0.1.2
 
Loading...
Searching...
No Matches
LkEngine::LTransformComponent Struct Reference
Inheritance diagram for LkEngine::LTransformComponent:
LkEngine::IComponent

Public Member Functions

 LTransformComponent (const LTransformComponent &Other)=default
 
 LTransformComponent (const glm::vec3 &Translation)
 
FORCEINLINE glm::vec3 GetTranslation () const
 
FORCEINLINE glm::vec3 GetScale () const
 
FORCEINLINE float GetRotation2D () const
 
FORCEINLINE glm::mat4 GetTransform () const
 
FORCEINLINE glm::mat4 GetInvTransform () const
 
FORCEINLINE glm::quat GetRotation () const
 
FORCEINLINE glm::vec3 GetRotationEuler () const
 
FORCEINLINE void SetRotationEuler (const glm::vec3 &euler)
 
FORCEINLINE void SetRotation (const glm::quat &InQuat)
 
FORCEINLINE bool IsStatic () const
 
virtual std::string ToString () const override
 
- Public Member Functions inherited from LkEngine::IComponent

Public Attributes

glm::vec3 Translation = { 0.0f, 0.0f, 0.0f }
 
glm::vec3 Scale = { 1.0f, 1.0f, 1.0f }
 
float Rotation2D = 0.0f
 
bool bIsStatic = false
 

Member Function Documentation

◆ ToString()

virtual std::string LkEngine::LTransformComponent::ToString ( ) const
inlineoverridevirtual

Implements LkEngine::IComponent.


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