Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

VRageMath.MyBounds

Morten Aune Lyrstad edited this page Apr 16, 2022 · 38 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