Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Properties | List of all members
BrokeProtocol.Entities.Heightmap Class Reference
Inheritance diagram for BrokeProtocol.Entities.Heightmap:
BrokeProtocol.Entities.Serialized

Public Member Functions

override void InitializeEditor ()
 
void CreateMesh (byte[] data)
 
- Public Member Functions inherited from BrokeProtocol.Entities.Serialized
virtual void BoundsHighlightAdd ()
 
virtual void BoundsHighlightRemove ()
 
virtual void CheckSave ()
 
void Trigger (Collider collider, string eventName, bool enter)
 

Public Attributes

Material material
 
byte[] heightmapData
 
- Public Attributes inherited from BrokeProtocol.Entities.Serialized
string referencePrefab
 
GameObject go
 
Transform mainT
 
string data
 
BoundsHighlight highlight
 

Protected Member Functions

void OnDestroy ()
 
void DestroyMesh ()
 

Protected Attributes

Material instancedMaterial
 
readonly List< Mesh > meshes = new()
 

Properties

override SerializedParameters Parameters [get]
 
override Type EditorType [get]
 
- Properties inherited from BrokeProtocol.Entities.Serialized
virtual bool SendInitial [get]
 
virtual SerializedParameters Parameters [get]
 
virtual Type EditorType [get]
 
ChildIndex GetChildIndex [get]
 
virtual Transform GetRotationT [get]
 
virtual Quaternion GetRotation [get]
 
Transform GetParent [get]
 
bool IsOutside [get]
 
int GetPlaceIndex [get]
 
Place GetPlace [get]
 
Vector3 GetPosition [get]
 
string LogPosition [get]
 
virtual Vector3 CenterBuoyancy [get]
 
virtual bool InWater [get]
 

Member Function Documentation

◆ CreateMesh()

void BrokeProtocol.Entities.Heightmap.CreateMesh ( byte[] data)
inline

◆ DestroyMesh()

void BrokeProtocol.Entities.Heightmap.DestroyMesh ( )
inlineprotected

◆ InitializeEditor()

override void BrokeProtocol.Entities.Heightmap.InitializeEditor ( )
virtual

Reimplemented from BrokeProtocol.Entities.Serialized.

◆ OnDestroy()

void BrokeProtocol.Entities.Heightmap.OnDestroy ( )
protected

Member Data Documentation

◆ heightmapData

byte [] BrokeProtocol.Entities.Heightmap.heightmapData

◆ instancedMaterial

Material BrokeProtocol.Entities.Heightmap.instancedMaterial
protected

◆ material

Material BrokeProtocol.Entities.Heightmap.material

◆ meshes

readonly List<Mesh> BrokeProtocol.Entities.Heightmap.meshes = new()
protected

Property Documentation

◆ EditorType

override Type BrokeProtocol.Entities.Heightmap.EditorType
get

◆ Parameters

override SerializedParameters BrokeProtocol.Entities.Heightmap.Parameters
get

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