Public Member Functions | |
| auto | convert_to_bool () const -> bool |
| auto | assign_from_another (_other:&meshlib::MultiMeshIntersectionResult) -> &mut meshlib::MultiMeshIntersectionResult |
| auto | mesh () const -> *const *const meshlib::ffi::MR_Mesh |
| auto | mesh_mut () -> *mut *const meshlib::ffi::MR_Mesh |
| void | set_mesh (value:Option<&meshlib::Mesh >) |
| auto | proj () const -> &meshlib::PointOnFace |
| auto | proj_mut () -> &mut meshlib::PointOnFace |
| void | set_proj (value:&meshlib::PointOnFace) |
| auto | mtp () const -> &meshlib::MeshTriPoint |
| auto | mtp_mut () -> &mut meshlib::MeshTriPoint |
| void | set_mtp (value:&meshlib::MeshTriPoint) |
| auto | distance_along_line () const -> &f32 |
| auto | distance_along_line_mut () -> &mut f32 |
| void | set_distance_along_line (value:f32) |
| auto | upcast_to_mesh_intersection_result () const -> &meshlib::MeshIntersectionResult |
| auto | upcast_to_mesh_intersection_result_mut () -> &mut meshlib::MeshIntersectionResult |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::MultiMeshIntersectionResult > |
| static auto | construct_from_another (_other:&meshlib::MultiMeshIntersectionResult) -> meshlib::Owned< meshlib::MultiMeshIntersectionResult > |
| static auto | static_downcast_from_mesh_intersection_result (object:&meshlib::MeshIntersectionResult) -> &Self |
| static auto | static_downcast_from_mesh_intersection_result_mut (object:&mut meshlib::MeshIntersectionResult) -> &mut Self |
| Static Public Member Functions inherited from meshlib::CppClass | |
| static void | destroy (ptr:*mut Self) |
| Static Public Member Functions inherited from meshlib::CppCopy | |
| static auto | copy (ptr:*const Self) -> *mut Self |
Generated from class MR::MultiMeshIntersectionResult. Base classes: Direct: (non-virtual) MR::MeshIntersectionResult
Generated from class MR::MultiMeshIntersectionResult. Heap-allocated instances are held in Owned<MultiMeshIntersectionResult>.
| auto meshlib::MultiMeshIntersectionResult::assign_from_another | ( | _other:&meshlib::MultiMeshIntersectionResult | ) | -> &mut meshlib::MultiMeshIntersectionResult |
Generated from method MR::MultiMeshIntersectionResult::operator=.
Calls MR_MultiMeshIntersectionResult_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Generated from constructor MR::MultiMeshIntersectionResult::MultiMeshIntersectionResult.
Calls MR_MultiMeshIntersectionResult_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::MultiMeshIntersectionResult::convert_to_bool | ( | ) | const -> bool |
check for validity Generated from conversion operator MR::MultiMeshIntersectionResult::operator bool.
Calls MR_MultiMeshIntersectionResult_ConvertTo_bool().
| auto meshlib::MultiMeshIntersectionResult::distance_along_line | ( | ) | const -> &f32 |
stores the distance from ray origin to the intersection point in direction units Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named distanceAlongLine.
Calls MR_MultiMeshIntersectionResult_Get_distanceAlongLine(). The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::distance_along_line_mut | ( | ) | -> &mut f32 |
stores the distance from ray origin to the intersection point in direction units Returns a mutable pointer to a member variable of class MR::MultiMeshIntersectionResult named distanceAlongLine.
Calls MR_MultiMeshIntersectionResult_GetMutable_distanceAlongLine(). The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::mesh | ( | ) | const -> *const *const meshlib::ffi::MR_Mesh |
the intersection found in this mesh Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named mesh.
Calls MR_MultiMeshIntersectionResult_Get_mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::mesh_mut | ( | ) | -> *mut *const meshlib::ffi::MR_Mesh |
the intersection found in this mesh Returns a mutable pointer to a member variable of class MR::MultiMeshIntersectionResult named mesh.
Calls MR_MultiMeshIntersectionResult_GetMutable_mesh(). Some types are raw C types, see the C bindings for the details. The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::mtp | ( | ) | const -> &meshlib::MeshTriPoint |
stores barycentric coordinates Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named mtp.
Calls MR_MultiMeshIntersectionResult_Get_mtp(). The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::mtp_mut | ( | ) | -> &mut meshlib::MeshTriPoint |
stores barycentric coordinates Returns a mutable pointer to a member variable of class MR::MultiMeshIntersectionResult named mtp.
Calls MR_MultiMeshIntersectionResult_GetMutable_mtp(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_MultiMeshIntersectionResult_DefaultConstruct().
| auto meshlib::MultiMeshIntersectionResult::proj | ( | ) | const -> &meshlib::PointOnFace |
stores intersected face and global coordinates Returns a pointer to a member variable of class MR::MultiMeshIntersectionResult named proj.
Calls MR_MultiMeshIntersectionResult_Get_proj(). The reference to this object might be preserved as the return value.
| auto meshlib::MultiMeshIntersectionResult::proj_mut | ( | ) | -> &mut meshlib::PointOnFace |
stores intersected face and global coordinates Returns a mutable pointer to a member variable of class MR::MultiMeshIntersectionResult named proj.
Calls MR_MultiMeshIntersectionResult_GetMutable_proj(). The reference to this object might be preserved as the return value.
| void meshlib::MultiMeshIntersectionResult::set_distance_along_line | ( | value:f32 | ) |
stores the distance from ray origin to the intersection point in direction units Modifies a member variable of class MR::MultiMeshIntersectionResult named distanceAlongLine.
Calls MR_MultiMeshIntersectionResult_Set_distanceAlongLine().
| void meshlib::MultiMeshIntersectionResult::set_mesh | ( | value:Option<&meshlib::Mesh > | ) |
the intersection found in this mesh Modifies a member variable of class MR::MultiMeshIntersectionResult named mesh.
Calls MR_MultiMeshIntersectionResult_Set_mesh(). The reference to the parameter value might be preserved in this object in element mesh.
| void meshlib::MultiMeshIntersectionResult::set_mtp | ( | value:&meshlib::MeshTriPoint | ) |
stores barycentric coordinates Modifies a member variable of class MR::MultiMeshIntersectionResult named mtp.
Calls MR_MultiMeshIntersectionResult_Set_mtp(). The reference to the parameter value might be preserved in this object in element mtp.
| void meshlib::MultiMeshIntersectionResult::set_proj | ( | value:&meshlib::PointOnFace | ) |
stores intersected face and global coordinates Modifies a member variable of class MR::MultiMeshIntersectionResult named proj.
Calls MR_MultiMeshIntersectionResult_Set_proj(). The reference to the parameter value might be preserved in this object in element proj.
|
static |
Static downcast from the base class MR::MeshIntersectionResult.
Calls MR_MultiMeshIntersectionResult_StaticDowncastFrom_MR_MeshIntersectionResult(). Undefined behavior if the object isn't actually a MultiMeshIntersectionResult.
|
static |
Static downcast from the base class MR::MeshIntersectionResult.
Calls MR_MultiMeshIntersectionResult_MutableStaticDowncastFrom_MR_MeshIntersectionResult(). Undefined behavior if the object isn't actually a MultiMeshIntersectionResult.
| auto meshlib::MultiMeshIntersectionResult::upcast_to_mesh_intersection_result | ( | ) | const -> &meshlib::MeshIntersectionResult |
Upcasts to the base class MR::MeshIntersectionResult.
Calls MR_MultiMeshIntersectionResult_UpcastTo_MR_MeshIntersectionResult().
| auto meshlib::MultiMeshIntersectionResult::upcast_to_mesh_intersection_result_mut | ( | ) | -> &mut meshlib::MeshIntersectionResult |
Upcasts to the base class MR::MeshIntersectionResult.
Calls MR_MultiMeshIntersectionResult_MutableUpcastTo_MR_MeshIntersectionResult().