FnUsdAbstractionLib 0.6.0
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
usg::lux::ShadowAPI Class Reference

Public Member Functions

 ShadowAPI (const Prim &prim)
 
bool validate ()
 
 operator bool () const
 
void apply ()
 
Attribute createShadowColorAttr (const Value &defaultValue=Value())
 
Attribute getShadowColorAttr () const
 
void setShadowColor (const fdk::Vec3f &value, fdk::TimeValue time=fdk::defaultTimeValue())
 
fdk::Vec3f getShadowColor (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Attribute createShadowDistanceAttr (const Value &defaultValue=Value())
 
Attribute getShadowDistanceAttr () const
 
void setShadowDistance (float value, fdk::TimeValue time=fdk::defaultTimeValue())
 
float getShadowDistance (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Attribute createShadowEnableAttr (const Value &defaultValue=Value())
 
Attribute getShadowEnableAttr () const
 
void setShadowEnable (bool value, fdk::TimeValue time=fdk::defaultTimeValue())
 
bool getShadowEnable (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Attribute createShadowFalloffAttr (const Value &defaultValue=Value())
 
Attribute getShadowFalloffAttr () const
 
void setShadowFalloff (float value, fdk::TimeValue time=fdk::defaultTimeValue())
 
float getShadowFalloff (fdk::TimeValue time=fdk::defaultTimeValue()) const
 
Attribute createShadowFalloffGammaAttr (const Value &defaultValue=Value())
 
Attribute getShadowFalloffGammaAttr () const
 
void setShadowFalloffGamma (float value, fdk::TimeValue time=fdk::defaultTimeValue())
 
float getShadowFalloffGamma (fdk::TimeValue time=fdk::defaultTimeValue()) const
 

Static Public Member Functions

static bool isValidPrim (const Prim &prim)
 

Protected Attributes

Prim _prim
 


©2025 The Foundry Visionmongers, Ltd. All Rights Reserved.
www.thefoundry.co.uk