Space Engineers
Public Member Functions | Properties | List of all members
VRage.Noise.Modifiers.MyClamp Class Reference

Clamps the output value from a source module to a range of values. More...

Inheritance diagram for VRage.Noise.Modifiers.MyClamp:
VRage.Noise.IMyModule

Public Member Functions

 MyClamp (IMyModule module, double lowerBound=-1.0, double upperBound=1.0)
 
double GetValue (double x)
 
double GetValue (double x, double y)
 
double GetValue (double x, double y, double z)
 

Properties

double LowerBound [get, set]
 
double UpperBound [get, set]
 
IMyModule Module [get, set]
 

Detailed Description

Clamps the output value from a source module to a range of values.

Definition at line 8 of file MyClamp.cs.

Constructor & Destructor Documentation

VRage.Noise.Modifiers.MyClamp.MyClamp ( IMyModule  module,
double  lowerBound = -1.0,
double  upperBound = 1.0 
)
inline

Definition at line 15 of file MyClamp.cs.

Member Function Documentation

double VRage.Noise.Modifiers.MyClamp.GetValue ( double  x)
inline

Implements VRage.Noise.IMyModule.

Definition at line 25 of file MyClamp.cs.

double VRage.Noise.Modifiers.MyClamp.GetValue ( double  x,
double  y 
)
inline

Implements VRage.Noise.IMyModule.

Definition at line 30 of file MyClamp.cs.

double VRage.Noise.Modifiers.MyClamp.GetValue ( double  x,
double  y,
double  z 
)
inline

Implements VRage.Noise.IMyModule.

Definition at line 35 of file MyClamp.cs.

Property Documentation

double VRage.Noise.Modifiers.MyClamp.LowerBound
getset

Definition at line 10 of file MyClamp.cs.

IMyModule VRage.Noise.Modifiers.MyClamp.Module
getset

Definition at line 13 of file MyClamp.cs.

double VRage.Noise.Modifiers.MyClamp.UpperBound
getset

Definition at line 11 of file MyClamp.cs.


The documentation for this class was generated from the following file: