|
Broke Protocol Game API Reference
1.39
Code reference for server and client scripting
|
Protected Member Functions | |
| override JobHandle | GetMeshJob () |
Protected Member Functions inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| void | OnDestroy () |
Properties | |
| override int | FacesPerVoxel [get] |
| override int | VerticesPerFace [get] |
| override int | IndicesPerFace [get] |
Properties inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| int | NeighborChunkSize [get] |
| virtual int | FacesPerVoxel [get] |
| virtual int | VerticesPerFace [get] |
| virtual int | IndicesPerFace [get] |
Additional Inherited Members | |
Public Member Functions inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| void | Init (int3 position, ShVoxel manager) |
| void | Dispose () |
| IEnumerator | UpdateMesh () |
Public Attributes inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| Coroutine | updateCoroutine |
| ShVoxel | manager |
| JobHandle | meshJobHandle |
| NativeArray< float3 > | nativeVertices |
| NativeArray< float3 > | nativeNormals |
| NativeArray< float4 > | nativeTangents |
| NativeArray< int > | nativeIndices |
| NativeArray< float2 > | nativeUVs |
| NativeArray< Color32 > | nativeColors |
| NativeArray< int > | nativeCounter |
| NativeArray< byte > | nativeNeighbors |
Static Public Attributes inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| const int | chunkPower = 5 |
| const int | chunkSize = 1 << chunkPower |
Protected Attributes inherited from BrokeProtocol.Utility.Voxels.Chunk | |
| MeshRenderer | meshRenderer |
| MeshFilter | meshFilter |
| MeshCollider | meshCollider |
| int3 | position |
| Mesh | mesh |
|
protectedvirtual |
Reimplemented from BrokeProtocol.Utility.Voxels.Chunk.
|
getprotected |
|
getprotected |
|
getprotected |