Public Member Functions | |
| auto | assign_from_another (_other:&meshlib::SkyPatch) -> &mut meshlib::SkyPatch |
| auto | dir () const -> &meshlib::Vector3f |
| auto | dir_mut () -> &mut meshlib::Vector3f |
| void | set_dir (value:meshlib::Vector3f) |
| auto | radiation () const -> &f32 |
| auto | radiation_mut () -> &mut f32 |
| void | set_radiation (value:f32) |
Static Public Member Functions | |
| static auto | new () -> meshlib::Owned< meshlib::SkyPatch > |
| static auto | construct_from (dir:meshlib::Vector3f, radiation:f32) -> meshlib::Owned< meshlib::SkyPatch > |
| static auto | construct_from_another (_other:&meshlib::SkyPatch) -> meshlib::Owned< meshlib::SkyPatch > |
| 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 |
this class represents a portion of the sky, and its radiation Generated from class MR::SkyPatch.
Generated from class MR::SkyPatch. Heap-allocated instances are held in Owned<SkyPatch>.
| auto meshlib::SkyPatch::assign_from_another | ( | _other:&meshlib::SkyPatch | ) | -> &mut meshlib::SkyPatch |
Generated from method MR::SkyPatch::operator=.
Calls MR_SkyPatch_AssignFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in this object.
|
static |
Constructs MR::SkyPatch elementwise.
Calls MR_SkyPatch_ConstructFrom(). The reference to the parameter dir might be preserved in the constructed object.
|
static |
Generated from constructor MR::SkyPatch::SkyPatch.
Calls MR_SkyPatch_ConstructFromAnother(). The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
| auto meshlib::SkyPatch::dir | ( | ) | const -> &meshlib::Vector3f |
direction toward the center of the patch Returns a pointer to a member variable of class MR::SkyPatch named dir.
Calls MR_SkyPatch_Get_dir(). The reference to this object might be preserved as the return value.
| auto meshlib::SkyPatch::dir_mut | ( | ) | -> &mut meshlib::Vector3f |
direction toward the center of the patch Returns a mutable pointer to a member variable of class MR::SkyPatch named dir.
Calls MR_SkyPatch_GetMutable_dir(). The reference to this object might be preserved as the return value.
|
static |
Constructs an empty (default-constructed) instance.
Calls MR_SkyPatch_DefaultConstruct().
| auto meshlib::SkyPatch::radiation | ( | ) | const -> &f32 |
radiation of the patch depending on Sun's position, sky clearness and brightness, etc Returns a pointer to a member variable of class MR::SkyPatch named radiation.
Calls MR_SkyPatch_Get_radiation(). The reference to this object might be preserved as the return value.
| auto meshlib::SkyPatch::radiation_mut | ( | ) | -> &mut f32 |
radiation of the patch depending on Sun's position, sky clearness and brightness, etc Returns a mutable pointer to a member variable of class MR::SkyPatch named radiation.
Calls MR_SkyPatch_GetMutable_radiation(). The reference to this object might be preserved as the return value.
| void meshlib::SkyPatch::set_dir | ( | value:meshlib::Vector3f | ) |
direction toward the center of the patch Modifies a member variable of class MR::SkyPatch named dir.
Calls MR_SkyPatch_Set_dir(). The reference to the parameter value might be preserved in this object in element dir.
| void meshlib::SkyPatch::set_radiation | ( | value:f32 | ) |
radiation of the patch depending on Sun's position, sky clearness and brightness, etc Modifies a member variable of class MR::SkyPatch named radiation.
Calls MR_SkyPatch_Set_radiation().