C# Class TiledTerrainDemo.DemoLandscape.DemoPartitionContext

显示文件 Open project: willcraftia/TestXna Class Usage Examples

Public Methods

Method Description
DemoPartitionContext ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content, CDLODSettings settings, ICDLODVisibleRanges visibleRanges, SampleSourceDelegate noiseSource, float noiseMinX, float noiseMinY, float noiseWidth, float noiseHeight ) : System
Noise ( float x, float y, float z ) : float

Method Details

DemoPartitionContext() public method

public DemoPartitionContext ( GraphicsDevice graphicsDevice, Microsoft.Xna.Framework.Content.ContentManager content, CDLODSettings settings, ICDLODVisibleRanges visibleRanges, SampleSourceDelegate noiseSource, float noiseMinX, float noiseMinY, float noiseWidth, float noiseHeight ) : System
graphicsDevice GraphicsDevice
content Microsoft.Xna.Framework.Content.ContentManager
settings Willcraftia.Xna.Framework.Terrain.CDLOD.CDLODSettings
visibleRanges ICDLODVisibleRanges
noiseSource SampleSourceDelegate
noiseMinX float
noiseMinY float
noiseWidth float
noiseHeight float
return System

Noise() public method

public Noise ( float x, float y, float z ) : float
x float
y float
z float
return float