C# Class KronalUtils.ShaderMaterialProperty.FloatProperty

Inheritance: ShaderMaterialProperty
Show file Open project: bigorangemachine/ksp-kronalutils Class Usage Examples

Public Properties

Property Type Description
DefaultValue float
RangeMax float
RangeMin float

Public Methods

Method Description
Clone ( ) : ShaderMaterialProperty
Match ( Action IfFloat = null, Action IfVector = null, Action IfColor = null, Action IfTexture = null ) : void

Private Methods

Method Description
FloatProperty ( Material material, string name, string displayName, float min, float max ) : System

Method Details

Clone() public method

public Clone ( ) : ShaderMaterialProperty
return ShaderMaterialProperty

Match() public method

public Match ( Action IfFloat = null, Action IfVector = null, Action IfColor = null, Action IfTexture = null ) : void
IfFloat Action
IfVector Action
IfColor Action
IfTexture Action
return void

Property Details

DefaultValue public property

public float DefaultValue
return float

RangeMax public property

public float RangeMax
return float

RangeMin public property

public float RangeMin
return float