Broke Protocol Game API Reference  1.39
Code reference for server and client scripting
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
BrokeProtocol.Utility.TransformStruct Struct Reference

Public Member Functions

 TransformStruct (Vector3 position, Quaternion rotation, Vector3 scale)
 
 TransformStruct (Transform t)
 

Static Public Member Functions

static TransformStruct operator- (TransformStruct lhs, TransformStruct rhs)
 
static TransformStruct operator+ (TransformStruct lhs, TransformStruct rhs)
 

Public Attributes

Vector3 position
 
Quaternion rotation
 
Vector3 scale
 

Static Public Attributes

static readonly TransformStruct identity = new (Vector3.zero, Quaternion.identity, Vector3.one)
 

Constructor & Destructor Documentation

◆ TransformStruct() [1/2]

BrokeProtocol.Utility.TransformStruct.TransformStruct ( Vector3 position,
Quaternion rotation,
Vector3 scale )
inline

◆ TransformStruct() [2/2]

BrokeProtocol.Utility.TransformStruct.TransformStruct ( Transform t)
inline

Member Function Documentation

◆ operator+()

static TransformStruct BrokeProtocol.Utility.TransformStruct.operator+ ( TransformStruct lhs,
TransformStruct rhs )
inlinestatic

◆ operator-()

static TransformStruct BrokeProtocol.Utility.TransformStruct.operator- ( TransformStruct lhs,
TransformStruct rhs )
inlinestatic

Member Data Documentation

◆ identity

readonly TransformStruct BrokeProtocol.Utility.TransformStruct.identity = new (Vector3.zero, Quaternion.identity, Vector3.one)
static

◆ position

Vector3 BrokeProtocol.Utility.TransformStruct.position

◆ rotation

Quaternion BrokeProtocol.Utility.TransformStruct.rotation

◆ scale

Vector3 BrokeProtocol.Utility.TransformStruct.scale

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