Logo
Classes | Public Member Functions | Public Attributes | Properties | List of all members
Yukar.Engine.TerrainCollisionBuilder Class Reference

Class for generating terrain collision More...

Classes

class  TerrainVertex
 Terrain mesh for collision More...
 
class  WalkableMap
 class for mapping walkable coordinates More...
 

Public Member Functions

 TerrainCollisionBuilder ()
 
void build (SharpKmyPhysics.PhysicsBase target, MapData mapData, int originX, int originZ, int size)
 
SharpKmyPhysics.Collider[] registerColliders (SharpKmyPhysics.PhysicsBase target)
 
Common.Resource.MapChip getAttr (int index)
 
bool isLiquid (int x, int z)
 

Public Attributes

List< TerrainVertexverts = new List<TerrainVertex>()
 

Properties

bool isReady [get]
 

Detailed Description

Class for generating terrain collision

Constructor & Destructor Documentation

◆ TerrainCollisionBuilder()

Yukar.Engine.TerrainCollisionBuilder.TerrainCollisionBuilder ( )

Member Function Documentation

◆ build()

void Yukar.Engine.TerrainCollisionBuilder.build ( SharpKmyPhysics.PhysicsBase  target,
MapData  mapData,
int  originX,
int  originZ,
int  size 
)

◆ getAttr()

Common.Resource.MapChip Yukar.Engine.TerrainCollisionBuilder.getAttr ( int  index)

◆ isLiquid()

bool Yukar.Engine.TerrainCollisionBuilder.isLiquid ( int  x,
int  z 
)

◆ registerColliders()

SharpKmyPhysics.Collider[] Yukar.Engine.TerrainCollisionBuilder.registerColliders ( SharpKmyPhysics.PhysicsBase  target)

Member Data Documentation

◆ verts

List<TerrainVertex> Yukar.Engine.TerrainCollisionBuilder.verts = new List<TerrainVertex>()

Property Documentation

◆ isReady

bool Yukar.Engine.TerrainCollisionBuilder.isReady
get