IC8 Python API:RLPy RMeshInfo

From Reallusion Wiki!
Jump to: navigation, search

Description

Stores mesh geometry and topology counts, including vertices, faces, boundary and non-manifold data, connected components, and texture coordinates.

Constructor & Destructor

__init__ (self)

Initializes a new mesh info instance.

Properties

boundary_edge_count

Number of boundary edges in the mesh.

boundary_loop_count

Number of boundary loops in the mesh.

connected_component_count

Number of connected components in the mesh.

edge_count

Number of edges in the mesh.

face_corner_count

Number of face corners in the mesh.

face_count

Number of faces in the mesh.

has_any_usable_uv

Indicates whether at least one mesh face has usable UV coordinates.

has_complete_uv

Indicates whether the mesh has complete UV data.

has_usable_uv

Indicates whether the mesh has usable UV coordinates on every face.

has_uv

Indicates whether the mesh has UV data.

invalid_uv_index_count

Number of invalid UV indices in the mesh.

is_two_manifold

Indicates whether the mesh satisfies the two-manifold topology check.

missing_uv_face_corner_count

Number of face corners missing UV coordinates in the mesh.

non_finite_uv_coordinate_count

Number of UV coordinates with non-finite values in the mesh.

non_manifold_edge_count

Number of non-manifold edges in the mesh.

non_manifold_vertex_count

Number of non-manifold vertices in the mesh.

texture_coordinate_count

Number of texture coordinates in the mesh.

thisown

Indicates whether this SWIG proxy owns the underlying C++ object.

usable_uv_face_count

Number of faces with usable UV coordinates in the mesh.

uv_face_corner_count

Number of UV face corners in the mesh.

vertex_count

Number of vertices in the mesh.

zero_area_uv_face_count

Number of UV faces with zero area in the mesh.