24 #ifndef USDLUX_GENERATED_SHADOWAPI_H
25 #define USDLUX_GENERATED_SHADOWAPI_H
30 #include "pxr/usd/usdLux/api.h"
31 #include "pxr/usd/usd/apiSchemaBase.h"
32 #include "pxr/usd/usd/prim.h"
33 #include "pxr/usd/usd/stage.h"
34 #include "pxr/usd/usdLux/tokens.h"
36 #include "pxr/base/vt/value.h"
38 #include "pxr/base/gf/vec3d.h"
39 #include "pxr/base/gf/vec3f.h"
40 #include "pxr/base/gf/matrix4d.h"
42 #include "pxr/base/tf/token.h"
43 #include "pxr/base/tf/type.h"
45 PXR_NAMESPACE_OPEN_SCOPE
105 Get(
const UsdStagePtr &stage,
const SdfPath &path);
135 static const TfType &_GetStaticTfType();
137 static bool _IsTypedSchema();
141 const TfType &_GetTfType()
const override;
296 PXR_NAMESPACE_CLOSE_SCOPE
UsdLuxShadowAPI(const UsdPrim &prim=UsdPrim())
Construct a UsdLuxShadowAPI on UsdPrim prim .
static USDLUX_API UsdLuxShadowAPI Get(const UsdStagePtr &stage, const SdfPath &path)
Return a UsdLuxShadowAPI holding the prim adhering to this schema at path on stage.
USDLUX_API UsdAttribute CreateShadowDistanceAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetShadowDistanceAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDLUX_API UsdAttribute CreateShadowColorAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetShadowColorAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDLUX_API UsdAttribute GetShadowColorAttr() const
The color of shadows cast by the light.
UsdLuxShadowAPI(const UsdSchemaBase &schemaObj)
Construct a UsdLuxShadowAPI on the prim held by schemaObj .
USDLUX_API UsdRelationship GetShadowIncludeRel() const
Set of geometry to consider for the purpose of casting shadows from a light.
static USDLUX_API const TfTokenVector & GetSchemaAttributeNames(bool includeInherited=true)
Return a vector of names of all pre-declared attributes for this schema class and all its ancestor cl...
USDLUX_API UsdAttribute GetShadowFalloffAttr() const
The near distance at which shadow falloff begins.
static USDLUX_API UsdLuxShadowAPI Apply(const UsdPrim &prim)
Applies this single-apply API schema to the given prim.
USDLUX_API UsdSchemaType _GetSchemaType() const override
Returns the type of schema this class belongs to.
The base class for all API schemas.
Scenegraph object for authoring and retrieving numeric, string, and array valued data, sampled over time.
virtual USDLUX_API ~UsdLuxShadowAPI()
Destructor.
USDLUX_API UsdAttribute CreateShadowFalloffAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetShadowFalloffAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
Controls to refine a light's shadow behavior.
USDLUX_API UsdAttribute CreateShadowEnableAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetShadowEnableAttr(), and also Create vs Get Property Methods for when to use Get vs Create...
USDLUX_API UsdAttribute GetShadowEnableAttr() const
Enables shadows to be cast by this light.
UsdSchemaType
An enum representing which type of schema a given schema class belongs to.
static const UsdSchemaType schemaType
Compile time constant representing what kind of schema this class is.
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
std::vector< TfToken > TfTokenVector
Convenience types.
A path value used to locate objects in layers or scenegraphs.
USDLUX_API UsdRelationship CreateShadowIncludeRel() const
See GetShadowIncludeRel(), and also Create vs Get Property Methods for when to use Get vs Create...
USDLUX_API UsdRelationship GetShadowExcludeRel() const
Set of geometry to ignore for the purpose of casting shadows from a light.
A UsdRelationship creates dependencies between scenegraph objects by allowing a prim to target other ...
USDLUX_API UsdAttribute GetShadowFalloffGammaAttr() const
A gamma (i.e., exponential) control over shadow strength with linear distance within the falloff zone...
Contains an asset path and an optional resolved path.
USDLUX_API UsdAttribute CreateShadowFalloffGammaAttr(VtValue const &defaultValue=VtValue(), bool writeSparsely=false) const
See GetShadowFalloffGammaAttr(), and also Create vs Get Property Methods for when to use Get vs Creat...
TfType represents a dynamic runtime type.
Singleton registry that provides access to prim and property definition information for registered Us...
USDLUX_API UsdAttribute GetShadowDistanceAttr() const
The maximum distance shadows are cast.
USDLUX_API UsdRelationship CreateShadowExcludeRel() const
See GetShadowExcludeRel(), and also Create vs Get Property Methods for when to use Get vs Create...
The base class for all schema types in Usd.
Provides a container which may hold any type, and provides introspection and iteration over array typ...