Additional Inherited Members | |
| Protected Member Functions inherited from meshlib.CppObject | |
| CppObject (java.lang.foreign.MemorySegment ptr, java.util.function.Consumer< java.lang.foreign.MemorySegment > destroy, java.lang.Object owner) | |
Generated from class MR::MeshLoad::NamedMesh.
Instances created here own their C++ objects, see CppObject.
| meshlib.meshload.NamedMesh.NamedMesh | ( | java.lang.foreign.MemorySegment | ptr, |
| boolean | owned, | ||
| java.lang.Object | owner ) |
Wraps a pointer from the C bindings. If owned, the object is destroyed when the wrapper dies. owner is kept alive as long as this wrapper is. Not for normal use.
| meshlib.meshload.NamedMesh.NamedMesh | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_MeshLoad_NamedMesh_DefaultConstruct().
| meshlib.meshload.NamedMesh.NamedMesh | ( | java.lang.String | name, |
| meshlib.Mesh | mesh, | ||
| meshlib.VertCoords2 | uvCoords, | ||
| meshlib.VertColors | colors, | ||
| meshlib.Vector_std_filesystem_path_MR_TextureId | textureFiles, | ||
| meshlib.TexturePerFace | texturePerFace, | ||
| meshlib.Color | diffuseColor, | ||
| meshlib.AffineXf3f | xf, | ||
| int | skippedFaceCount, | ||
| int | duplicatedVertexCount ) |
Constructs MR::MeshLoad::NamedMesh elementwise. The reference to the parameter name might be preserved in the constructed object. The reference to the parameter mesh might be preserved in the constructed object. The reference to the parameter uvCoords might be preserved in the constructed object. The reference to the parameter colors might be preserved in the constructed object. The reference to the parameter textureFiles might be preserved in the constructed object. The reference to the parameter texturePerFace might be preserved in the constructed object. The reference to the parameter diffuseColor might be preserved in the constructed object. The reference to the parameter xf might be preserved in the constructed object.
Calls MR_MeshLoad_NamedMesh_ConstructFrom().
| meshlib.meshload.NamedMesh.NamedMesh | ( | meshlib.meshload.NamedMesh | _other | ) |
Generated from constructor MR::MeshLoad::NamedMesh::NamedMesh. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_MeshLoad_NamedMesh_ConstructFromAnother().
| meshlib.meshload.NamedMesh meshlib.meshload.NamedMesh.assignFromAnother | ( | meshlib.meshload.NamedMesh | _other | ) |
Generated from method MR::MeshLoad::NamedMesh::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_MeshLoad_NamedMesh_AssignFromAnother().
| meshlib.VertColors meshlib.meshload.NamedMesh.colors | ( | ) |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named colors. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_colors().
| meshlib.std_optional_MR_Color meshlib.meshload.NamedMesh.diffuseColor | ( | ) |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named diffuseColor. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_diffuseColor().
| int meshlib.meshload.NamedMesh.duplicatedVertexCount | ( | ) |
counter of duplicated vertices (that created for resolve non-manifold geometry) Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named duplicatedVertexCount. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_duplicatedVertexCount().
| meshlib.Mesh meshlib.meshload.NamedMesh.mesh | ( | ) |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named mesh. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_mesh().
| meshlib.std_string meshlib.meshload.NamedMesh.name | ( | ) |
the name from the o line of the object; empty for the faces before the first o line, as for an o line without a name Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named name. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_name().
| void meshlib.meshload.NamedMesh.setColors | ( | meshlib.VertColors | value | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named colors. The reference to the parameter value might be preserved in this object in element colors.
Calls MR_MeshLoad_NamedMesh_Set_colors().
| void meshlib.meshload.NamedMesh.setDiffuseColor | ( | meshlib.Color | value | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named diffuseColor. The reference to the parameter value might be preserved in this object in element diffuseColor.
Calls MR_MeshLoad_NamedMesh_Set_diffuseColor().
| void meshlib.meshload.NamedMesh.setDuplicatedVertexCount | ( | int | value | ) |
counter of duplicated vertices (that created for resolve non-manifold geometry) Modifies a member variable of class MR::MeshLoad::NamedMesh named duplicatedVertexCount.
Calls MR_MeshLoad_NamedMesh_Set_duplicatedVertexCount().
| void meshlib.meshload.NamedMesh.setMesh | ( | meshlib.Mesh | value | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named mesh. The reference to the parameter value might be preserved in this object in element mesh.
Calls MR_MeshLoad_NamedMesh_Set_mesh().
| void meshlib.meshload.NamedMesh.setName | ( | java.lang.String | value | ) |
the name from the o line of the object; empty for the faces before the first o line, as for an o line without a name Modifies a member variable of class MR::MeshLoad::NamedMesh named name. The reference to the parameter value might be preserved in this object in element name.
Calls MR_MeshLoad_NamedMesh_Set_name().
| void meshlib.meshload.NamedMesh.setSkippedFaceCount | ( | int | value | ) |
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces Modifies a member variable of class MR::MeshLoad::NamedMesh named skippedFaceCount.
Calls MR_MeshLoad_NamedMesh_Set_skippedFaceCount().
| void meshlib.meshload.NamedMesh.setTextureFiles | ( | meshlib.Vector_std_filesystem_path_MR_TextureId | value | ) |
texture files of the materials; an empty path stands for the faces without a texture (their material has no texture file or was not found), if other faces of the mesh have one Modifies a member variable of class MR::MeshLoad::NamedMesh named textureFiles. The reference to the parameter value might be preserved in this object in element textureFiles.
Calls MR_MeshLoad_NamedMesh_Set_textureFiles().
| void meshlib.meshload.NamedMesh.setTexturePerFace | ( | meshlib.TexturePerFace | value | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named texturePerFace. The reference to the parameter value might be preserved in this object in element texturePerFace.
Calls MR_MeshLoad_NamedMesh_Set_texturePerFace().
| void meshlib.meshload.NamedMesh.setUvCoords | ( | meshlib.VertCoords2 | value | ) |
Modifies a member variable of class MR::MeshLoad::NamedMesh named uvCoords. The reference to the parameter value might be preserved in this object in element uvCoords.
Calls MR_MeshLoad_NamedMesh_Set_uvCoords().
| void meshlib.meshload.NamedMesh.setXf | ( | meshlib.AffineXf3f | value | ) |
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Modifies a member variable of class MR::MeshLoad::NamedMesh named xf. The reference to the parameter value might be preserved in this object in element xf.
Calls MR_MeshLoad_NamedMesh_Set_xf().
| int meshlib.meshload.NamedMesh.skippedFaceCount | ( | ) |
counter of skipped faces (faces than can't be created), not zero only if ObjLoadSettings.countSkippedFaces Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named skippedFaceCount. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_skippedFaceCount().
| meshlib.Vector_std_filesystem_path_MR_TextureId meshlib.meshload.NamedMesh.textureFiles | ( | ) |
texture files of the materials; an empty path stands for the faces without a texture (their material has no texture file or was not found), if other faces of the mesh have one Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named textureFiles. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_textureFiles().
| meshlib.TexturePerFace meshlib.meshload.NamedMesh.texturePerFace | ( | ) |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named texturePerFace. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_texturePerFace().
| meshlib.VertCoords2 meshlib.meshload.NamedMesh.uvCoords | ( | ) |
Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named uvCoords. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_uvCoords().
| meshlib.AffineXf3f meshlib.meshload.NamedMesh.xf | ( | ) |
transform of the loaded mesh, not identity only if ObjLoadSettings.customXf Returns a pointer to a member variable of class MR::MeshLoad::NamedMesh named xf. The reference to this object might be preserved as the return value.
Calls MR_MeshLoad_NamedMesh_Get_xf().