C# Class IrrlichtNETCP.Extensions.GrassPatchSceneNode

Inheritance: IrrlichtNETCP.Inheritable.ISceneNode
显示文件 Open project: Paulus/irrlichtnetcp

Public Methods

Method Description
GetMaterial ( int i ) : Material
GrassPatchSceneNode ( SceneNode parent, SceneManager mgr, int id, bool createIfEmpty, IrrlichtNETCP.Vector3D gridPos, string filepath, Texture heightMap, Texture colourMap, Texture grassMap, SceneNode terrain, WindGenerator wind ) : System
OnAnimate ( uint timeMs ) : void
OnRegisterSceneNode ( ) : void
Render ( ) : void

Private Methods

Method Description
Create ( bool save ) : bool
Load ( ) : bool
ReallocateBuffers ( ) : void
Save ( ) : bool

Method Details

GetMaterial() public method

public GetMaterial ( int i ) : Material
i int
return IrrlichtNETCP.Material

GrassPatchSceneNode() public method

public GrassPatchSceneNode ( SceneNode parent, SceneManager mgr, int id, bool createIfEmpty, IrrlichtNETCP.Vector3D gridPos, string filepath, Texture heightMap, Texture colourMap, Texture grassMap, SceneNode terrain, WindGenerator wind ) : System
parent IrrlichtNETCP.SceneNode
mgr IrrlichtNETCP.SceneManager
id int
createIfEmpty bool
gridPos IrrlichtNETCP.Vector3D
filepath string
heightMap IrrlichtNETCP.Texture
colourMap IrrlichtNETCP.Texture
grassMap IrrlichtNETCP.Texture
terrain IrrlichtNETCP.SceneNode
wind WindGenerator
return System

OnAnimate() public method

public OnAnimate ( uint timeMs ) : void
timeMs uint
return void

OnRegisterSceneNode() public method

public OnRegisterSceneNode ( ) : void
return void

Render() public method

public Render ( ) : void
return void