class
SceneValidator
Checks the Scene based on currently set validation flags.
Properties
Property | Description |
---|---|
CheckBones | If set, bones will be checked for validity. |
CheckDegenerateFaceIndices | If set, faces that have the same index more than once will not be allowed. |
CheckGUIDs | If set, GUIDs have to be non-empty and unique. |
CheckMaterials | If Set, check material table for invalid material data and shading nodes |
CheckMeshes | If set, meshes will be checked for validity. |
CheckTextures | If set, check the texture table for invalid or missing textures |
CheckZeroAreaFaces | If set, faces that have zero area will not be allowed. |
IgnoreNonFatalErrors | If set, check to ignore non fatal errors |
MaximumErrorStringsToReport | An upper limit to numbers of strings returned in an error report. |
Name | The name of the SceneValidator object. (Inherited from Object) |
TextureNodesMustHaveCoordinateName | If set, check texture nodes cannot have only unnamed coordinate levels |
Methods
Method | Description |
---|---|
AddObserver | Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object) |
GetClass | Get the name of the SceneValidator class. (Inherited from Object) |
GetErrorCount | Returns a uint with the number of errors that was found for the last check that was performed. |
GetErrorString | Returns a string describing the error that was found in the last check that was performed. |
IsA | Returns true if SceneValidator is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
IsNull | Returns true if the SceneValidator object is invalid. (Inherited from Object) |
IsSameObjectAs | Returns true if the SceneValidator object is valid. (Inherited from Object) |
NonNull | Returns true if the SceneValidator object is valid. (Inherited from Object) |
PrintInfo | Prints the content/info of the SceneValidator object to the log. (Inherited from Object) |
RemoveObserver | Removes a previously added observer object. (Inherited from Object) |
ValidateScene | Checks if the data stored in the Scene is stored correctly for use by Simplygon |
Static methods
Method | Description |
---|---|
IsClassA | Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object) |
SafeCast | SafeCast makes sure the input object is of a class that can be cast into spSceneValidator, and if this is the case, returns the object cast into spSceneValidator. (Inherited from Object) |
Properties details
CheckBones
If set, bones will be checked for validity.
CheckDegenerateFaceIndices
If set, faces that have the same index more than once will not be allowed.
CheckGUIDs
If set, GUIDs have to be non-empty and unique.
CheckMaterials
If Set, check material table for invalid material data and shading nodes
CheckMeshes
If set, meshes will be checked for validity.
CheckTextures
If set, check the texture table for invalid or missing textures
CheckZeroAreaFaces
If set, faces that have zero area will not be allowed.
IgnoreNonFatalErrors
If set, check to ignore non fatal errors
MaximumErrorStringsToReport
An upper limit to numbers of strings returned in an error report.
Name
The name of the SceneValidator object. (Inherited from Object)
TextureNodesMustHaveCoordinateName
If set, check texture nodes cannot have only unnamed coordinate levels
Methods details
AddObserver
Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
GetClass
Get the name of the SceneValidator class. (Inherited from Object)
GetErrorCount
Returns a uint with the number of errors that was found for the last check that was performed.
GetErrorString
Returns a string describing the error that was found in the last check that was performed.
IsA
Returns true if SceneValidator is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNull
Returns true if the SceneValidator object is invalid. (Inherited from Object)
IsSameObjectAs
Returns true if the SceneValidator object is valid. (Inherited from Object)
NonNull
Returns true if the SceneValidator object is valid. (Inherited from Object)
PrintInfo
Prints the content/info of the SceneValidator object to the log. (Inherited from Object)
RemoveObserver
Removes a previously added observer object. (Inherited from Object)
ValidateScene
Checks if the data stored in the Scene is stored correctly for use by Simplygon
Static methods details
IsClassA
Returns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCast
SafeCast makes sure the input object is of a class that can be cast into spSceneValidator, and if this is the case, returns the object cast into spSceneValidator. (Inherited from Object)