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

VRageMath.MathHelper.Clamp

Malware edited this page Dec 25, 2018 · 18 revisions

IndexMathHelper

Summary

private public float Clamp(float value, float min, float max)

Restricts a value to be within a specified range. Reference page contains links to related code samples.

Returns

Example

Remarks

Summary

private public double Clamp(double value, double min, double max)

Restricts a value to be within a specified range. Reference page contains links to related code samples.

Returns

Example

Remarks

Summary

private public private public sealed struct.MyFixedPoint Clamp(private public sealed struct.MyFixedPoint value, private public sealed struct.MyFixedPoint min, private public sealed struct.MyFixedPoint max)

Restricts a value to be within a specified range. Reference page contains links to related code samples.

Returns

Example

Remarks

Summary

private public int Clamp(int value, int min, int max)

Restricts a value to be within a specified range. Reference page contains links to related code samples.

Returns

Example

Remarks

Clone this wiki locally