VRage
MyFixedPoint
Assembly: VRage.Library.dll
public struct MyFixedPoint: IXmlSerializable
Fixed point number represented as 64-bit integer with 6 decimal places (one millionts)
Fields
| Member | Description |
|---|---|
| static MaxIntValue | |
| static MaxValue | |
| static MinIntValue | |
| static MinValue | |
| static SmallestPossibleValue | |
| static Zero | |
| RawValue |
Methods
| Member | Description |
|---|---|
| static AddSafe(MyFixedPoint, MyFixedPoint) | |
| static Ceiling(MyFixedPoint) | |
| static DeserializeString(string) | |
| static DeserializeStringSafe(string) | For XmlSerialization, format is 123.456789 Handles double and decimal formats too. |
| static Floor(MyFixedPoint) | |
| static IsIntegral(MyFixedPoint) | |
| static Max(MyFixedPoint, MyFixedPoint) | |
| static Min(MyFixedPoint, MyFixedPoint) | |
| static MultiplySafe(MyFixedPoint, float) | |
| static MultiplySafe(MyFixedPoint, int) | |
| static MultiplySafe(float, MyFixedPoint) | |
| static MultiplySafe(int, MyFixedPoint) | |
| static MultiplySafe(MyFixedPoint, MyFixedPoint) | |
| static Round(MyFixedPoint) | |
| Equals(object) | |
| GetHashCode() | |
| SerializeString() | For XmlSerialization, format is 123.456789 |
| ToIntSafe() | |
| ToString() |
Implements:
- IXmlSerializable prohibited