C# 클래스 Project2.GameObjects.HeightMapTerrain

상속: Terrain
파일 보기 프로젝트 열기: nuclearpidgeon/graphicsproj2

공개 메소드들

메소드 설명
HeightMapTerrain ( Project2Game game, System.Vector3 position, Texture2D heightMap, float xScale, float zScale ) : System

보호된 메소드들

메소드 설명
GeneratePhysicsDescription ( ) : Jitter.Dynamics.RigidBody
GenerateTerrainData ( ) : ].float[

Process a heightmap into a 2D array of integers representing the terrain data. Set the terrain object's height and width parameters.

메소드 상세

GeneratePhysicsDescription() 보호된 메소드

protected GeneratePhysicsDescription ( ) : Jitter.Dynamics.RigidBody
리턴 Jitter.Dynamics.RigidBody

GenerateTerrainData() 보호된 메소드

Process a heightmap into a 2D array of integers representing the terrain data. Set the terrain object's height and width parameters.
protected GenerateTerrainData ( ) : ].float[
리턴 ].float[

HeightMapTerrain() 공개 메소드

public HeightMapTerrain ( Project2Game game, System.Vector3 position, Texture2D heightMap, float xScale, float zScale ) : System
game Project2Game
position System.Vector3
heightMap Texture2D
xScale float
zScale float
리턴 System