Public Member Functions | |
| None | __init__ (self) |
| None | __init__ (self, UnitInfo arg0) |
| None | __init__ (self, float conversionFactor, str prettyName, str unitSuffix) |
| float | conversionFactor (self) |
| None | conversionFactor (self, float arg1) |
| str | unitSuffix (self) |
| None | unitSuffix (self, str arg1) |
Static Public Member Functions | |
| None | __init__ (*args, **kwargs) |
| UnitInfo | operator (*args, **kwargs) |
| UnitInfo | operator (*args, **kwargs) |
Static Protected Attributes | |
| typing | _offsetof_conversionFactor = 0 |
| typing | _offsetof_prettyName = 8 |
| typing | _offsetof_unitSuffix = 24 |
Generated from: MR::UnitInfo Information about a single measurement unit.
|
static |
| None mrmeshpy.UnitInfo.__init__ | ( | self | ) |
| None mrmeshpy.UnitInfo.__init__ | ( | self, | |
| UnitInfo | arg0 ) |
Implicit copy constructor.
| None mrmeshpy.UnitInfo.__init__ | ( | self, | |
| float | conversionFactor, | ||
| str | prettyName, | ||
| str | unitSuffix ) |
Implicit aggregate constructor.
| float mrmeshpy.UnitInfo.conversionFactor | ( | self | ) |
This is used to convert between units. To convert from A to B, multiply by A's factor and divide by B's.
| None mrmeshpy.UnitInfo.conversionFactor | ( | self, | |
| float | arg1 ) |
|
static |
|
static |
| str mrmeshpy.UnitInfo.unitSuffix | ( | self | ) |
The short unit name that's placed after values. This may or may not start with a space.
| None mrmeshpy.UnitInfo.unitSuffix | ( | self, | |
| str | arg1 ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |