C# 클래스 BananaMpq.Geometry.Builders.SquareMeshBuilder

파일 보기 프로젝트 열기: sgraf812/BananaMpq 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetIndexAt int
IsOutOfBounds bool
MakeTriangle IndexedTriangleWithNormal

공개 메소드들

메소드 설명
BuildSquareMesh ( Func shouldNotRenderTile, MaterialFlags materialProperties, RectangleF bounds, string description = null ) : SceneObject
SquareMeshBuilder ( float heightMap, System.Vector3 offset, float tileSize, System.Matrix rootTransform = null ) : System

비공개 메소드들

메소드 설명
GetIndexAt ( int row, int col ) : int
IsOutOfBounds ( int index, RectangleF bounds ) : bool
MakeTriangle ( int a, int b, int c ) : IndexedTriangleWithNormal

메소드 상세

BuildSquareMesh() 공개 메소드

public BuildSquareMesh ( Func shouldNotRenderTile, MaterialFlags materialProperties, RectangleF bounds, string description = null ) : SceneObject
shouldNotRenderTile Func
materialProperties MaterialFlags
bounds RectangleF
description string
리턴 SceneObject

SquareMeshBuilder() 공개 메소드

public SquareMeshBuilder ( float heightMap, System.Vector3 offset, float tileSize, System.Matrix rootTransform = null ) : System
heightMap float
offset System.Vector3
tileSize float
rootTransform System.Matrix
리턴 System