VenomEngine
Cross-Platform Modern Graphics Engine
Loading...
Searching...
No Matches
venom::common::Light Class Reference
+ Inheritance diagram for venom::common::Light:

Public Member Functions

void SetType (const LightType type)
 
const LightType & GetType () const
 
void SetColor (const vcm::Vec3 &color)
 
const vcm::Vec3 & GetColor () const
 
void SetIntensity (const float intensity)
 
const float & GetIntensity () const
 
float * GetIntensityPtr ()
 
void SetRadius (const float radius)
 
const float & GetRadius () const
 
void SetDirection (const vcm::Vec3 &direction)
 
float * GetDirectionPtr ()
 
const vcm::Vec3 & GetDirection () const
 
LightShaderStruct GetShaderStruct () const
 
- Public Member Functions inherited from venom::common::Transform3D
 Transform3D (const Transform3D &other)
 
Transform3Doperator= (const Transform3D &other)
 
 Transform3D (Transform3D &&other) noexcept
 
Transform3Doperator= (Transform3D &&other) noexcept
 
void SetPosition (const vcm::Vec3 &position)
 
void Move (const vcm::Vec3 &delta)
 
void MoveForward (const float delta)
 
void MoveRight (const float delta)
 
void MoveUp (const float delta)
 
const vcm::Vec3 & GetPosition () const
 
bool HasPositionChanged ()
 
void SetRotation (const vcm::Vec3 &rotation)
 
void SetYaw (float angle)
 
void SetPitch (float angle)
 
void SetRoll (float angle)
 
void RotateYaw (float angle)
 
void RotatePitch (float angle)
 
void RotateRoll (float angle)
 
void Rotate (const vcm::Vec3 &rotation)
 
const vcm::Quat & GetRotationQuat () const
 
const vcm::Vec3 & GetRotation ()
 
void RotateAround (const vcm::Vec3 &target, const vcm::Vec3 &planeNormal, float angle)
 Rotates around the target on the given planeNormal by the given angle.
 
void LookAt (const vcm::Vec3 &target)
 
vcm::Vec3 GetForwardVector () const
 
vcm::Vec3 GetUpVector () const
 
vcm::Vec3 GetRightVector () const
 
void UpdateModelMatrix ()
 
const vcm::Mat4 & GetModelMatrix ()
 

Additional Inherited Members

- Public Attributes inherited from venom::common::Transform3D
- Protected Member Functions inherited from venom::common::Transform3D
void _UpdateRotationQuat ()
 
- Protected Attributes inherited from venom::common::Transform3D
vcm::Vec3 _position
 
vcm::Quat _rotationQuat
 
union { 
 
   vcm::Vec3   _3Drotation 
 
   struct { 
 
      float   _yaw 
 
      float   _pitch 
 
      float   _roll 
 
   }  
 
};  
 
vcm::Mat4 _modelMatrix
 

The documentation for this class was generated from the following files: