Skip to content

GEMBounds

← Back to Runtime | Home

Namespace: wevr.GEM.Runtime

Type: Struct

Inherits: INetworkSerializable

Methods

GEMBounds

 GEMBounds(Bounds bounds)

GEMBounds

 GEMBounds(GEMVector2 frontLeft, GEMVector2 rearRight)

GEMBounds

 GEMBounds(float frontLeftX, float frontLeftY, float rearRightX, float rearRightY)

GetCenter

Vector2 GetCenter()

NetworkSerialize< T >

void NetworkSerialize< T >(BufferSerializer< T > serializer)

ToString

override string ToString()

ToUnityBounds

Bounds ToUnityBounds()

Fields

front_left

GEMVector2 front_left

rear_right

GEMVector2 rear_right