Logo
クラス | 公開メンバ関数 | 静的公開メンバ関数 | 公開変数類 | 静的公開変数類 | プロパティ | 全メンバ一覧
Yukar.Engine.MapClusterBuilder クラス

Common.Rom.Map に従って地形のメッシュを生成するクラス [詳解]

クラス

class  MapSlopePhysicsNotifyTarget
 コライダに坂道がヒットしたことを通知するためのクラス [詳解]
 
class  MapTerrainPhysicsNotifyTarget
 コライダに地形がヒットしたことを通知するためのクラス [詳解]
 

公開メンバ関数

 MapClusterBuilder (int x, int z, MapData owner, Common.Rom.Map dat, bool topOnly, uint clusterSize, SharpKmyPhysics.PhysicsBase physics, bool delayedSmoothing)
 
void Dispose ()
 
void geomInvalidate ()
 
void buildBottomRequest ()
 
bool isSmoothInProgress ()
 
void buildCore (int x, int z)
 
void updateInternal ()
 
void updateInternalTopOnly ()
 
async void afterUpdate ()
 
void buildCollisions ()
 
void updateGeometry ()
 

静的公開メンバ関数

static SharpKmyGfx.Color getColorByHeight (float height)
 

公開変数類

List< SharpKmyGfx.VertexPositionNormalMapTexture2Color >[,] op_vlist
 
Common.Rom.Map data
 
int ix
 
int iz
 
int currentX
 
int currentZ
 
int currentY
 
int currentHeight
 
bool[] capped = new bool[4]
 
SharpKmyGfx.VertexBuffer vb
 
SharpKmyGfx.VertexBuffer avb
 
SharpKmyGfx.GeomCluster geomCluster
 
SharpKmyGfx.GeometryInstance geometryInstance
 
SharpKmyGfx.GeometryInstance selectionGeometry
 

静的公開変数類

const float s_centerOffset = 0.5f
 
const float WATER_TOP_OFFST = 0.1f
 
static int MinY = -1
 
static int MaxY = -1
 

プロパティ

bool IsInvalid [get]
 

詳解

Common.Rom.Map に従って地形のメッシュを生成するクラス

構築子と解体子

◆ MapClusterBuilder()

Yukar.Engine.MapClusterBuilder.MapClusterBuilder ( int  x,
int  z,
MapData  owner,
Common.Rom.Map  dat,
bool  topOnly,
uint  clusterSize,
SharpKmyPhysics.PhysicsBase  physics,
bool  delayedSmoothing 
)

メソッド詳解

◆ afterUpdate()

async void Yukar.Engine.MapClusterBuilder.afterUpdate ( )

◆ buildBottomRequest()

void Yukar.Engine.MapClusterBuilder.buildBottomRequest ( )

◆ buildCollisions()

void Yukar.Engine.MapClusterBuilder.buildCollisions ( )

◆ buildCore()

void Yukar.Engine.MapClusterBuilder.buildCore ( int  x,
int  z 
)

◆ Dispose()

void Yukar.Engine.MapClusterBuilder.Dispose ( )

◆ geomInvalidate()

void Yukar.Engine.MapClusterBuilder.geomInvalidate ( )

◆ getColorByHeight()

static SharpKmyGfx.Color Yukar.Engine.MapClusterBuilder.getColorByHeight ( float  height)
static

◆ isSmoothInProgress()

bool Yukar.Engine.MapClusterBuilder.isSmoothInProgress ( )

◆ updateGeometry()

void Yukar.Engine.MapClusterBuilder.updateGeometry ( )

◆ updateInternal()

void Yukar.Engine.MapClusterBuilder.updateInternal ( )

◆ updateInternalTopOnly()

void Yukar.Engine.MapClusterBuilder.updateInternalTopOnly ( )

メンバ詳解

◆ avb

SharpKmyGfx.VertexBuffer Yukar.Engine.MapClusterBuilder.avb

◆ capped

bool [] Yukar.Engine.MapClusterBuilder.capped = new bool[4]

◆ currentHeight

int Yukar.Engine.MapClusterBuilder.currentHeight

◆ currentX

int Yukar.Engine.MapClusterBuilder.currentX

◆ currentY

int Yukar.Engine.MapClusterBuilder.currentY

◆ currentZ

int Yukar.Engine.MapClusterBuilder.currentZ

◆ data

Common.Rom.Map Yukar.Engine.MapClusterBuilder.data

◆ geomCluster

SharpKmyGfx.GeomCluster Yukar.Engine.MapClusterBuilder.geomCluster

◆ geometryInstance

SharpKmyGfx.GeometryInstance Yukar.Engine.MapClusterBuilder.geometryInstance

◆ ix

int Yukar.Engine.MapClusterBuilder.ix

◆ iz

int Yukar.Engine.MapClusterBuilder.iz

◆ MaxY

int Yukar.Engine.MapClusterBuilder.MaxY = -1
static

◆ MinY

int Yukar.Engine.MapClusterBuilder.MinY = -1
static

◆ op_vlist

List<SharpKmyGfx.VertexPositionNormalMapTexture2Color> [,] Yukar.Engine.MapClusterBuilder.op_vlist

◆ s_centerOffset

const float Yukar.Engine.MapClusterBuilder.s_centerOffset = 0.5f
static

◆ selectionGeometry

SharpKmyGfx.GeometryInstance Yukar.Engine.MapClusterBuilder.selectionGeometry

◆ vb

SharpKmyGfx.VertexBuffer Yukar.Engine.MapClusterBuilder.vb

◆ WATER_TOP_OFFST

const float Yukar.Engine.MapClusterBuilder.WATER_TOP_OFFST = 0.1f
static

プロパティ詳解

◆ IsInvalid

bool Yukar.Engine.MapClusterBuilder.IsInvalid
get