Skip to content
This repository was archived by the owner on Dec 13, 2025. It is now read-only.

VRage.MyFixedPoint

Malware edited this page Dec 25, 2018 · 44 revisions

IndexNamespace Index

MyFixedPoint Struct

public struct MyFixedPoint: IXmlSerializable

Fixed point number represented as 64-bit integer with 6 decimal places (one millionts)

Namespace: VRage
Assembly: VRage.Library.dll

Implements:

Fields

Member Description
RawValue
MinValue
MaxValue
Zero
SmallestPossibleValue
MaxIntValue
MinIntValue

Methods

Member Description
SerializeString() For XmlSerialization, format is 123.456789
DeserializeStringSafe(string) For XmlSerialization, format is 123.456789 Handles double and decimal formats too.
DeserializeString(string)
IsIntegral(MyFixedPoint)
Ceiling(MyFixedPoint)
Floor(MyFixedPoint)
Min(MyFixedPoint, MyFixedPoint)
Max(MyFixedPoint, MyFixedPoint)
Round(MyFixedPoint)
AddSafe(MyFixedPoint, MyFixedPoint)
MultiplySafe(MyFixedPoint, float)
MultiplySafe(MyFixedPoint, int)
MultiplySafe(float, MyFixedPoint)
MultiplySafe(int, MyFixedPoint)
MultiplySafe(MyFixedPoint, MyFixedPoint)
ToIntSafe()
ToString()
GetHashCode()
Equals(object)

Clone this wiki locally