![]() |
Simplygon C++ API
8.3.35800.0
|
#include <SimplygonSDK.h>
Public Member Functions | |
virtual const char * | GetClass () |
virtual rstring | GetErrorString ()=0 |
virtual bool | IsA (const char *type) const |
virtual bool | ValidateSettings ()=0 |
![]() | |
virtual rid | AddObserver (robserver *Observer, rid EventId)=0 |
virtual void | AddRef ()=0 |
virtual rstring | GetName ()=0 |
virtual void * | GetUserComponentArea (rid userid)=0 |
virtual void | PrintInfo ()=0 |
virtual void | Release ()=0 |
virtual void | RemoveObserver (rid ObserverId)=0 |
virtual void | SetName (const char *Name)=0 |
Static Public Member Functions | |
static bool | IsClassA (const char *type) |
static ISettingsObject * | SafeCast (IObject *ptr) |
![]() | |
static bool | IsClassA (const char *type) |
static IObject * | SafeCast (IObject *ptr) |
ISettingsObject is the abstract base class for all settings objects in Simplygon. Settings objects contains parameters for processing objects to use. These settings objects will have their data set and reached from a IProcessingObject and then used therein.
Definition at line 8997 of file SimplygonSDK.h.
|
virtual |
GetClass returns the name of the class of the object.
Reimplemented from SimplygonSDK::IObject.
Reimplemented in SimplygonSDK::IPipelineSettings, SimplygonSDK::IShadowMeshSettings, SimplygonSDK::IFoliageSettings, SimplygonSDK::IOcclusionMeshSettings, SimplygonSDK::IImpostorSettings, SimplygonSDK::IAmbientOcclusionCasterSettings, SimplygonSDK::IAggregationSettings, SimplygonSDK::IRemeshingSettingsV2, SimplygonSDK::IRemeshingSettings, SimplygonSDK::IVisibilitySettings, SimplygonSDK::IMappingImageSettings, SimplygonSDK::INormalCalculationSettings, SimplygonSDK::IReductionSettings, SimplygonSDK::IBoneSettings, SimplygonSDK::IRepairSettings, SimplygonSDK::IDisplacementCasterSettings, SimplygonSDK::INormalCasterSettings, SimplygonSDK::IOpacityCasterSettings, SimplygonSDK::IColorCasterSettings, and SimplygonSDK::IMaterialCasterSettings.
|
pure virtual |
Returns a string describing the error that was found the last time ValidateSettings was performed.
|
virtual |
The IsA function returns true if the object is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the object is, or is a descendant of |
Reimplemented from SimplygonSDK::IObject.
Reimplemented in SimplygonSDK::IPipelineSettings, SimplygonSDK::IShadowMeshSettings, SimplygonSDK::IFoliageSettings, SimplygonSDK::IOcclusionMeshSettings, SimplygonSDK::IImpostorSettings, SimplygonSDK::IAmbientOcclusionCasterSettings, SimplygonSDK::IAggregationSettings, SimplygonSDK::IRemeshingSettingsV2, SimplygonSDK::IRemeshingSettings, SimplygonSDK::IVisibilitySettings, SimplygonSDK::IMappingImageSettings, SimplygonSDK::INormalCalculationSettings, SimplygonSDK::IReductionSettings, SimplygonSDK::IBoneSettings, SimplygonSDK::IRepairSettings, SimplygonSDK::IDisplacementCasterSettings, SimplygonSDK::INormalCasterSettings, SimplygonSDK::IOpacityCasterSettings, SimplygonSDK::IColorCasterSettings, and SimplygonSDK::IMaterialCasterSettings.
|
inlinestatic |
The IsClassA function returns true if ISettingsObject is a or is a descendant of the class named as the type parameter
type | is the name of the class to check if the class is, or is a descendant of |
Definition at line 9018 of file SimplygonSDK.h.
|
inlinestatic |
SafeCast makes sure the pointer is of a class that can be cast into a ISettingsObject pointer, and if this is possible, returns the cast pointer.
ptr | is the pointer to be cast into a ISettingsObject pointer |
Definition at line 9031 of file SimplygonSDK.h.
|
pure virtual |
Validates the current settings values.