Public Member Functions | |
| SkyPatch (java.lang.foreign.MemorySegment ptr, boolean owned, java.lang.Object owner) | |
| SkyPatch () | |
| SkyPatch (meshlib.Vector3f dir, float radiation) | |
| SkyPatch (meshlib.SkyPatch _other) | |
| meshlib.SkyPatch | assignFromAnother (meshlib.SkyPatch _other) |
| meshlib.Vector3f | dir () |
| void | setDir (meshlib.Vector3f value) |
| float | radiation () |
| void | setRadiation (float value) |
| Public Member Functions inherited from meshlib.CppObject | |
| final java.lang.foreign.MemorySegment | rawPointer () |
| final boolean | isOwned () |
| final void | close () |
| final java.lang.foreign.MemorySegment | release () |
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) | |
this class represents a portion of the sky, and its radiation Generated from class MR::SkyPatch.
Instances created here own their C++ objects, see CppObject.
| meshlib.SkyPatch.SkyPatch | ( | 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.SkyPatch.SkyPatch | ( | ) |
Constructs an empty (default-constructed) instance.
Calls MR_SkyPatch_DefaultConstruct().
| meshlib.SkyPatch.SkyPatch | ( | meshlib.Vector3f | dir, |
| float | radiation ) |
Constructs MR::SkyPatch elementwise. The reference to the parameter dir might be preserved in the constructed object.
Calls MR_SkyPatch_ConstructFrom().
| meshlib.SkyPatch.SkyPatch | ( | meshlib.SkyPatch | _other | ) |
Generated from constructor MR::SkyPatch::SkyPatch. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object.
Calls MR_SkyPatch_ConstructFromAnother().
| meshlib.SkyPatch meshlib.SkyPatch.assignFromAnother | ( | meshlib.SkyPatch | _other | ) |
Generated from method MR::SkyPatch::operator=. The reference to things referred to by the parameter _other (if any) might be preserved in this object.
Calls MR_SkyPatch_AssignFromAnother().
| meshlib.Vector3f meshlib.SkyPatch.dir | ( | ) |
direction toward the center of the patch Returns a pointer to a member variable of class MR::SkyPatch named dir. The reference to this object might be preserved as the return value.
Calls MR_SkyPatch_Get_dir().
| float meshlib.SkyPatch.radiation | ( | ) |
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. The reference to this object might be preserved as the return value.
Calls MR_SkyPatch_Get_radiation().
| void meshlib.SkyPatch.setDir | ( | meshlib.Vector3f | value | ) |
direction toward the center of the patch Modifies a member variable of class MR::SkyPatch named dir. The reference to the parameter value might be preserved in this object in element dir.
Calls MR_SkyPatch_Set_dir().
| void meshlib.SkyPatch.setRadiation | ( | float | value | ) |
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().