Photon Quantum 3.0.0

Public Attributes | List of all members
Quantum.Draw.DebugCapsule Struct Reference

Stores information to draw the debug shape capsule. More...

Public Attributes

FPVector3 Center
 The world position of the capsule center. More...
 
ColorRGBA Color
 The color of the capsule. More...
 
FP Diameter => Radius + Radius
 Calculate the diameter of the capsule. More...
 
FP Extent
 The extent of the capsule. More...
 
FP Height => (Extent + Radius) * 2
 Calculate the height of the capsule. More...
 
bool Is2D
 Indicates that the capsule is 2D. More...
 
FP Radius
 The radius of the capsule. More...
 
FPQuaternion Rotation
 The rotation of the capsule. More...
 
bool Wire
 Draw the capsule as a wireframe. More...
 

Detailed Description

Stores information to draw the debug shape capsule.

Member Data Documentation

◆ Center

FPVector3 Quantum.Draw.DebugCapsule.Center

The world position of the capsule center.

◆ Rotation

FPQuaternion Quantum.Draw.DebugCapsule.Rotation

The rotation of the capsule.

◆ Extent

FP Quantum.Draw.DebugCapsule.Extent

The extent of the capsule.

◆ Radius

FP Quantum.Draw.DebugCapsule.Radius

The radius of the capsule.

◆ Color

ColorRGBA Quantum.Draw.DebugCapsule.Color

The color of the capsule.

◆ Wire

bool Quantum.Draw.DebugCapsule.Wire

Draw the capsule as a wireframe.

◆ Is2D

bool Quantum.Draw.DebugCapsule.Is2D

Indicates that the capsule is 2D.

◆ Height

FP Quantum.Draw.DebugCapsule.Height => (Extent + Radius) * 2

Calculate the height of the capsule.

◆ Diameter

FP Quantum.Draw.DebugCapsule.Diameter => Radius + Radius

Calculate the diameter of the capsule.