Photon Quantum 3.0.0

Static Public Attributes | Properties | List of all members
Quantum.Shape3D.BoxShape Struct Reference

Defines a 3D box shape in its local space. In order to create a Shape3D of type Shape3DType.Box, use Shape3D.CreateBox.

See also
Shape3D, Shape3DType
More...

Static Public Attributes

const int SIZE = FPVector3.SIZE + FP.SIZE
 The size of the struct in bytes. More...
 

Properties

FPVector3 Extents [get, set]
 Vector that defines the distance from the box centroid to the furthest point in the positive direction of each axis. More...
 

Detailed Description

Defines a 3D box shape in its local space. In order to create a Shape3D of type Shape3DType.Box, use Shape3D.CreateBox.

See also
Shape3D, Shape3DType

Member Data Documentation

◆ SIZE

const int Quantum.Shape3D.BoxShape.SIZE = FPVector3.SIZE + FP.SIZE
static

The size of the struct in bytes.

Property Documentation

◆ Extents

FPVector3 Quantum.Shape3D.BoxShape.Extents
getset

Vector that defines the distance from the box centroid to the furthest point in the positive direction of each axis.