Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Protected Member Functions | Properties | List of all members
BrokeProtocol.Utility.Voxels.SmoothChunk Class Reference
Inheritance diagram for BrokeProtocol.Utility.Voxels.SmoothChunk:
BrokeProtocol.Utility.Voxels.Chunk

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
 

Member Function Documentation

◆ GetMeshJob()

override JobHandle BrokeProtocol.Utility.Voxels.SmoothChunk.GetMeshJob ( )
protectedvirtual

Property Documentation

◆ FacesPerVoxel

override int BrokeProtocol.Utility.Voxels.SmoothChunk.FacesPerVoxel
getprotected

◆ IndicesPerFace

override int BrokeProtocol.Utility.Voxels.SmoothChunk.IndicesPerFace
getprotected

◆ VerticesPerFace

override int BrokeProtocol.Utility.Voxels.SmoothChunk.VerticesPerFace
getprotected

The documentation for this class was generated from the following file: