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

VRageMath.MyBounds

Morten Aune Lyrstad edited this page Apr 16, 2022 · 39 revisions

IndexNamespace Index

MyBounds Struct

public struct MyBounds

Namespace: VRageMath
Assembly: VRage.Math.dll

Fields

float Default

float Max

float Min

Constructors

MyBounds(float min, float max, float def)

Methods

float Clamp(float value)

float Normalize(float value)

Normalize value inside the bounds so that 0 is Min and 1 is Max.

string ToString()

Clone this wiki locally