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

Classes

struct  Vertex
 

Public Member Functions

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

Public Attributes

SplineNode next
 
SplineNode previous
 
- Public Attributes inherited from BrokeProtocol.Entities.Serialized
string referencePrefab
 
GameObject go
 
Transform mainT
 
string data
 
BoundsHighlight highlight
 

Protected Member Functions

void Awake ()
 
void OnDestroy ()
 
IEnumerator BuilderChanges ()
 
void GetInfo (float t, out Vector3 position, out Quaternion rotation, out Vector2 scale)
 

Protected Attributes

Mesh mesh = null
 
MeshFilter meshFilter = null
 
MeshCollider meshCollider = null
 
Mesh result
 
readonly List< Vertexvertices = 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

◆ Awake()

void BrokeProtocol.Entities.SplineNode.Awake ( )
inlineprotected

◆ BuilderChanges()

IEnumerator BrokeProtocol.Entities.SplineNode.BuilderChanges ( )
inlineprotected

◆ CheckSave()

override void BrokeProtocol.Entities.SplineNode.CheckSave ( )
inlinevirtual

Reimplemented from BrokeProtocol.Entities.Serialized.

◆ Compute()

void BrokeProtocol.Entities.SplineNode.Compute ( )
inline

◆ GetInfo()

void BrokeProtocol.Entities.SplineNode.GetInfo ( float t,
out Vector3 position,
out Quaternion rotation,
out Vector2 scale )
inlineprotected

◆ InitializeEditor()

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

Reimplemented from BrokeProtocol.Entities.Serialized.

◆ OnDestroy()

void BrokeProtocol.Entities.SplineNode.OnDestroy ( )
inlineprotected

Member Data Documentation

◆ mesh

Mesh BrokeProtocol.Entities.SplineNode.mesh = null
protected

◆ meshCollider

MeshCollider BrokeProtocol.Entities.SplineNode.meshCollider = null
protected

◆ meshFilter

MeshFilter BrokeProtocol.Entities.SplineNode.meshFilter = null
protected

◆ next

SplineNode BrokeProtocol.Entities.SplineNode.next

◆ previous

SplineNode BrokeProtocol.Entities.SplineNode.previous

◆ result

Mesh BrokeProtocol.Entities.SplineNode.result
protected

◆ vertices

readonly List<Vertex> BrokeProtocol.Entities.SplineNode.vertices = new()
protected

Property Documentation

◆ EditorType

override Type BrokeProtocol.Entities.SplineNode.EditorType
get

◆ Parameters

override SerializedParameters BrokeProtocol.Entities.SplineNode.Parameters
get

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