#include <SimplygonSDK.h>
IOpacityCasterSettings is the interface used to manage settings for an opacity caster
Definition at line 9811 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IOpacityCasterSettings::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.
◆ GetOutputSRGB()
virtual bool SimplygonSDK::IOpacityCasterSettings::GetOutputSRGB |
( |
| ) |
|
|
pure virtual |
Get the OutputSRGB flag. If set, output textures are exported in SRGB format. Input texture format is determined by the flag in the corresponding texture node in the material definition. Default is true.
- Returns
- the current IsSRGB flag
◆ IsA()
virtual bool SimplygonSDK::IOpacityCasterSettings::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::IOpacityCasterSettings::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IOpacityCasterSettings 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 9832 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IOpacityCasterSettings pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IOpacityCasterSettings object, if the cast can be made, and a NULL pointer otherwise
Definition at line 9845 of file SimplygonSDK.h.
◆ SetOutputSRGB()
virtual void SimplygonSDK::IOpacityCasterSettings::SetOutputSRGB |
( |
bool |
value | ) |
|
|
pure virtual |
Set the OutputSRGB flag. If set, output textures are exported in SRGB format. Input texture format is determined by the flag in the corresponding texture node in the material definition. Default is true.
- Parameters
-
value | the desired IsSRGB flag |
The documentation for this class was generated from the following file: