Foundation
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
FLight Struct Reference

#include <Scene.hpp>

Public Member Functions

bool HasEnvironmentTexture () const
 

Public Attributes

FTransform transform
 
FUUID id {}
 
FUUID name {}
 
FLightType type {FLightType::Directional}
 
float3 color {1,1,1}
 
float power {1.0f}
 
float angularDiameter {0.0f}
 
float radius {0.0f}
 
float spotInnerConeAngle {0.0f}
 
float spotOuterConeAngle {0.7853981f}
 
bool useShadow {true}
 
float width {1.0f}
 
float height {1.0f}
 
bool twoSided {false}
 
bool normalize {true}
 
bool environmentMap {false}
 
FUUID environmentTexture {}
 
float environmentAzimuthOffset {0.0f}
 
int32_t node {-1}
 

Member Function Documentation

◆ HasEnvironmentTexture()

bool FLight::HasEnvironmentTexture ( ) const
inline

Member Data Documentation

◆ angularDiameter

float FLight::angularDiameter {0.0f}

◆ color

float3 FLight::color {1,1,1}

◆ environmentAzimuthOffset

float FLight::environmentAzimuthOffset {0.0f}

◆ environmentMap

bool FLight::environmentMap {false}

◆ environmentTexture

FUUID FLight::environmentTexture {}

◆ height

float FLight::height {1.0f}

◆ id

FUUID FLight::id {}

◆ name

FUUID FLight::name {}

◆ node

int32_t FLight::node {-1}

◆ normalize

bool FLight::normalize {true}

◆ power

float FLight::power {1.0f}

◆ radius

float FLight::radius {0.0f}

◆ spotInnerConeAngle

float FLight::spotInnerConeAngle {0.0f}

◆ spotOuterConeAngle

float FLight::spotOuterConeAngle {0.7853981f}

◆ transform

FTransform FLight::transform

◆ twoSided

bool FLight::twoSided {false}

◆ type

◆ useShadow

bool FLight::useShadow {true}

◆ width

float FLight::width {1.0f}

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