#include <SimplygonSDK.h>
IDisplacementCasterSettings is used to store the settings for a displacement caster
Definition at line 10503 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IDisplacementCasterSettings::GetClass |
( |
| ) |
|
|
virtual |
GetClass returns the name of the class of the object.
- Returns
- the name of the actual class of the object, as a const char string
Reimplemented from SimplygonSDK::IMaterialCasterSettings.
◆ GetDistanceScaling()
virtual real SimplygonSDK::IDisplacementCasterSettings::GetDistanceScaling |
( |
| ) |
|
|
pure virtual |
Get the DistanceScaling value. All the delta values are divided by this value before storing them into an image.
- Returns
- The current DistanceScaling value
◆ GetGenerateScalarDisplacement()
virtual bool SimplygonSDK::IDisplacementCasterSettings::GetGenerateScalarDisplacement |
( |
| ) |
|
|
pure virtual |
Get the GenerateScalarDisplacement value. If set to true, the size of the displacement vectors' components in the direction of the interpolated normal are stored in the displacement map, instead of the displacement vectors.
- Returns
- The current GenerateScalarDisplacement flag
◆ GetGenerateTangentSpaceDisplacement()
virtual bool SimplygonSDK::IDisplacementCasterSettings::GetGenerateTangentSpaceDisplacement |
( |
| ) |
|
|
pure virtual |
Get the GenerateTangentSpaceDisplacement value. If set, the displacement vectors are transformed into the destination objects' tangent space
- Returns
- The current GenerateTangentSpaceDisplacement flag
◆ GetNormalMapTextureLevel()
virtual rid SimplygonSDK::IDisplacementCasterSettings::GetNormalMapTextureLevel |
( |
| ) |
|
|
pure virtual |
Get the texture coordinate level to use for the tangent space displacement vectors.
- Returns
- The current NormalMapTextureLevel value
◆ IsA()
virtual bool SimplygonSDK::IDisplacementCasterSettings::IsA |
( |
const char * |
type | ) |
const |
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the object is, or is a descendant of |
- Returns
- true if the object is of the specified class, false if not
Reimplemented from SimplygonSDK::IMaterialCasterSettings.
◆ IsClassA()
static bool SimplygonSDK::IDisplacementCasterSettings::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IDisplacementCasterSettings is a or is a descendant of the class named as the type parameter
- Parameters
-
type | is the name of the class to check if the class is, or is a descendant of |
- Returns
- true if the class is of the specified class, false if not
Definition at line 10524 of file SimplygonSDK.h.
◆ SafeCast()
◆ SetDistanceScaling()
virtual void SimplygonSDK::IDisplacementCasterSettings::SetDistanceScaling |
( |
real |
value | ) |
|
|
pure virtual |
Set the DistanceScaling value. All the delta values are divided by this value before storing them into an image.
- Parameters
-
value | The desired DistanceScaling value |
◆ SetGenerateScalarDisplacement()
virtual void SimplygonSDK::IDisplacementCasterSettings::SetGenerateScalarDisplacement |
( |
bool |
value | ) |
|
|
pure virtual |
Set the GenerateScalarDisplacement value. If set to true, the size of the displacement vectors' components in the direction of the interpolated normal are stored in the displacement map, instead of the displacement vectors.
- Parameters
-
value | The desired GenerateScalarDisplacement flag |
◆ SetGenerateTangentSpaceDisplacement()
virtual void SimplygonSDK::IDisplacementCasterSettings::SetGenerateTangentSpaceDisplacement |
( |
bool |
value | ) |
|
|
pure virtual |
Set the GenerateTangentSpaceDisplacement value. If set, the displacement vectors are transformed into the destination objects' tangent space
- Parameters
-
value | The desired GenerateTangentSpaceDisplacement flag |
◆ SetNormalMapTextureLevel()
virtual void SimplygonSDK::IDisplacementCasterSettings::SetNormalMapTextureLevel |
( |
rid |
value | ) |
|
|
pure virtual |
Set the texture coordinate level to use for the tangent space displacement vectors.
- Parameters
-
value | The desired NormalMapTextureLevel value |
The documentation for this class was generated from the following file: