Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::CapsuleLightData Struct Reference

Public Attributes

AZStd::array< float, 3 > m_startPoint = { { 0.0f, 0.0f, 0.0f } }
float m_radius = 0.0f
 one of the end points of the capsule
AZStd::array< float, 3 > m_direction = { { 0.0f, 0.0f, 0.0f } }
 Radius of the capsule, ie distance from line segment to surface.
float m_length = 0.0f
 normalized vector from the start point towards the other end point.
AZStd::array< float, 3 > m_rgbIntensity = { { 0.0f, 0.0f, 0.0f } }
 length of the line segment making up the inside of the capsule. Doesn't include caps (0 length capsule == sphere)
float m_invAttenuationRadiusSquared = 0.0f
 total rgb luminous intensity of the capsule in candela
float m_affectsGIFactor = 1.0f
 Inverse of the distance at which this light no longer has an effect, squared. Also used for falloff calculations.
bool m_affectsGI = true
float m_padding0 = 0.0f
float m_padding1 = 0.0f

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