C# Class Reactor.RMaterial

Show file Open project: reisergames/reactor-v1 Class Usage Examples

Public Methods

Method Description
Clone ( ) : RMaterial
GetAmbientColor ( ) : R4DVECTOR
GetDiffuseColor ( ) : R4DVECTOR
GetID ( ) : int
GetShader ( ) : RShader
GetShader ( RShader &Shader ) : void
GetSpecularColor ( ) : R4DVECTOR
GetSpecularPower ( ) : float
SetAmbientColor ( float r, float g, float b, float a ) : void
SetDiffuseColor ( float r, float g, float b, float a ) : void
SetShader ( RShader Shader ) : void
SetSpecularColor ( float r, float g, float b, float a ) : void
SetSpecularPower ( float power ) : void
SetTexture ( int TextureID ) : void
SetTexture ( int TextureID, CONST_REACTOR_TEXTURELAYER TextureLayer ) : void

Private Methods

Method Description
Dispose ( ) : void
Prepare ( RSceneNode node ) : void

Method Details

Clone() public method

public Clone ( ) : RMaterial
return RMaterial

GetAmbientColor() public method

public GetAmbientColor ( ) : R4DVECTOR
return R4DVECTOR

GetDiffuseColor() public method

public GetDiffuseColor ( ) : R4DVECTOR
return R4DVECTOR

GetID() public method

public GetID ( ) : int
return int

GetShader() public method

public GetShader ( ) : RShader
return RShader

GetShader() public method

public GetShader ( RShader &Shader ) : void
Shader RShader
return void

GetSpecularColor() public method

public GetSpecularColor ( ) : R4DVECTOR
return R4DVECTOR

GetSpecularPower() public method

public GetSpecularPower ( ) : float
return float

SetAmbientColor() public method

public SetAmbientColor ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
return void

SetDiffuseColor() public method

public SetDiffuseColor ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
return void

SetShader() public method

public SetShader ( RShader Shader ) : void
Shader RShader
return void

SetSpecularColor() public method

public SetSpecularColor ( float r, float g, float b, float a ) : void
r float
g float
b float
a float
return void

SetSpecularPower() public method

public SetSpecularPower ( float power ) : void
power float
return void

SetTexture() public method

public SetTexture ( int TextureID ) : void
TextureID int
return void

SetTexture() public method

public SetTexture ( int TextureID, CONST_REACTOR_TEXTURELAYER TextureLayer ) : void
TextureID int
TextureLayer CONST_REACTOR_TEXTURELAYER
return void