Skip to content

class MappingImageMeshData ​

MappingImageMeshData stores the mapped meshes and their paths in the original scene. This can be used to find a specific triangle on the original mesh in the scene from the combined id in the mapping image. Barycentrics refer to the combined source geometry's corner order. For an original mesh whose global transform has a negative 3x3 determinant, swap barycentric components 1 and 2 for standalone triangles, 0 and 2 for the first triangle of a quad, or 0 and 1 for the second before interpolating unchanged original-mesh attributes. Use the original mesh's quad flags and transform from mapping-image generation. No conversion is needed for non-mirrored meshes or attributes already in combined corner order.

Properties ​

PropertyDescription
NameThe name of the MappingImageMeshData object. (Inherited from Object)

Methods ​

MethodDescription
AddObserverAdds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)
ClearClear the MappingImageMeshData.
GetClassGet the name of the MappingImageMeshData class. (Inherited from Object)
GetMappedGeometriesCountThe MappedGeometriesCount, the number of mapped geometries.
GetNodeGuidOfGeometryThe node guid containing the original geometry.
GetScenePathOfGeometryThe mesh path in the scene of the geometry at the specified index.
GetStartTriangleIdOfGeometryThe Id of the first triangle of the geometry at the specified index.
IsAReturns true if MappingImageMeshData is a or is a descendant of the class named as the type parameter. (Inherited from Object)
IsNullReturns true if the MappingImageMeshData object is invalid. (Inherited from Object)
IsSameObjectAsReturns true if the MappingImageMeshData object is valid. (Inherited from Object)
NonNullReturns true if the MappingImageMeshData object is valid. (Inherited from Object)
PrintInfoPrints the content/info of the MappingImageMeshData object to the log. (Inherited from Object)
RemoveObserverRemoves a previously added observer object. (Inherited from Object)

Static methods ​

MethodDescription
IsClassAReturns true if the class is a or is a descendant of the class named as the type parameter. (Inherited from Object)
SafeCastSafeCast makes sure the input object is of a class that can be cast into spMappingImageMeshData, and if this is the case, returns the object cast into spMappingImageMeshData. (Inherited from Object)

Properties details ​

Name ​

The name of the MappingImageMeshData object. (Inherited from Object)

Methods details ​

AddObserver ​

Adds a user-defined observer object to the interface, that will receive events from the interface. (Inherited from Object)

Clear ​

Clear the MappingImageMeshData.

GetClass ​

Get the name of the MappingImageMeshData class. (Inherited from Object)

GetMappedGeometriesCount ​

The MappedGeometriesCount, the number of mapped geometries.

GetNodeGuidOfGeometry ​

The node guid containing the original geometry.

GetScenePathOfGeometry ​

The mesh path in the scene of the geometry at the specified index.

GetStartTriangleIdOfGeometry ​

The Id of the first triangle of the geometry at the specified index.

IsA ​

Returns true if MappingImageMeshData is a or is a descendant of the class named as the type parameter. (Inherited from Object)

IsNull ​

Returns true if the MappingImageMeshData object is invalid. (Inherited from Object)

IsSameObjectAs ​

Returns true if the MappingImageMeshData object is valid. (Inherited from Object)

NonNull ​

Returns true if the MappingImageMeshData object is valid. (Inherited from Object)

PrintInfo ​

Prints the content/info of the MappingImageMeshData object to the log. (Inherited from Object)

RemoveObserver ​

Removes a previously added observer object. (Inherited from Object)

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 spMappingImageMeshData, and if this is the case, returns the object cast into spMappingImageMeshData. (Inherited from Object)