#include <SimplygonSDK.h>
Definition at line 20009 of file SimplygonSDK.h.
◆ GetClass()
virtual const char* SimplygonSDK::IFoliageProcessor::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::IProcessingObject.
◆ GetFoliageMappingImage()
- Deprecated:
- Method is marked as deprecated and will be removed in future version. Use GetMappingImage() instead. The MappingImage for the Impostor geometry.
- Returns
- the MappingImage object associated with the processor
◆ GetFoliageMaterialID()
virtual int SimplygonSDK::IFoliageProcessor::GetFoliageMaterialID |
( |
| ) |
|
|
pure virtual |
◆ GetFoliageSettings()
The settings for the ImpostorProcessor.
- Returns
- the ImpostorProcessor settings object associated with the processor
◆ GetMappingImage()
The MappingImage for the Impostor geometry.
- Returns
- the MappingImage object associated with the processor
◆ GetMappingImageSettings()
The settings for the the MappingImage.
- Returns
- the MappingImage settings object associated with the processor
◆ GetScene()
Get the scene for the imposter processing. Please note that internal refrences might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.
- Returns
- the current scene
◆ IsA()
virtual bool SimplygonSDK::IFoliageProcessor::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::IProcessingObject.
◆ IsClassA()
static bool SimplygonSDK::IFoliageProcessor::IsClassA |
( |
const char * |
type | ) |
|
|
inlinestatic |
The IsClassA function returns true if IFoliageProcessor 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 20030 of file SimplygonSDK.h.
◆ SafeCast()
SafeCast makes sure the pointer is of a class that can be cast into a IFoliageProcessor pointer, and if this is possible, returns the cast pointer.
- Parameters
-
- Returns
- a pointer to the IFoliageProcessor object, if the cast can be made, and a NULL pointer otherwise
Definition at line 20043 of file SimplygonSDK.h.
◆ SetScene()
virtual void SimplygonSDK::IFoliageProcessor::SetScene |
( |
IScene * |
value | ) |
|
|
pure virtual |
Set the scene for the impostor processing. Please note that internal refrences might be modified by the processor. The caller should refresh any reference that is cached outside the scene after running the processor.
- Parameters
-
The documentation for this class was generated from the following file: