| MyFixedPoint Structure |
[This is preliminary documentation and is subject to change.]
Namespace: VRage
public struct MyFixedPoint : IXmlSerializable
The MyFixedPoint type exposes the following members.
| Name | Description | |
|---|---|---|
| AddSafe | ||
| Ceiling | ||
| DeserializeString | ||
| DeserializeStringSafe |
For XmlSerialization, format is 123.456789
Handles double and decimal formats too.
| |
| Equals | (Overrides ValueTypeEquals(Object).) | |
| Floor | ||
| GetHashCode | (Overrides ValueTypeGetHashCode.) | |
| IsIntegral | ||
| Max | ||
| Min | ||
| MultiplySafe(Int32, MyFixedPoint) | ||
| MultiplySafe(Single, MyFixedPoint) | ||
| MultiplySafe(MyFixedPoint, Int32) | ||
| MultiplySafe(MyFixedPoint, Single) | ||
| MultiplySafe(MyFixedPoint, MyFixedPoint) | ||
| Round | ||
| SerializeString |
For XmlSerialization, format is 123.456789
| |
| ToIntSafe | ||
| ToString | (Overrides ValueTypeToString.) |
| Name | Description | |
|---|---|---|
| IXmlSerializableGetSchema | This method is reserved and should not be used. When implementing the IXmlSerializable interface, you should return null (Nothing in Visual Basic) from this method, and instead, if specifying a custom schema is required, apply the XmlSchemaProviderAttribute to the class. | |
| IXmlSerializableReadXml | Generates an object from its XML representation. | |
| IXmlSerializableWriteXml | Converts an object into its XML representation. |