Photon Server API
Public Member Functions | Static Public Member Functions | Properties | List of all members
Photon.MmoDemo.Common.BoundingBox Struct Reference

The 3D floating point bounding box. More...

Public Member Functions

 BoundingBox (Vector min, Vector max)
 
bool Contains (Vector point)
 
bool Contains2d (Vector point)
 
BoundingBox IntersectWith (BoundingBox other)
 
BoundingBox UnionWith (BoundingBox other)
 
bool IsValid ()
 
override string ToString ()
 

Static Public Member Functions

static BoundingBox CreateFromPoints (params Vector[] points)
 

Properties

Vector Max [get, set]
 
Vector Min [get, set]
 
Vector Size [get]
 

Detailed Description

The 3D floating point bounding box.

Constructor & Destructor Documentation

Photon.MmoDemo.Common.BoundingBox.BoundingBox ( Vector  min,
Vector  max 
)
inline

Member Function Documentation

bool Photon.MmoDemo.Common.BoundingBox.Contains ( Vector  point)
inline
bool Photon.MmoDemo.Common.BoundingBox.Contains2d ( Vector  point)
inline
static BoundingBox Photon.MmoDemo.Common.BoundingBox.CreateFromPoints ( params Vector[]  points)
inlinestatic
BoundingBox Photon.MmoDemo.Common.BoundingBox.IntersectWith ( BoundingBox  other)
inline
bool Photon.MmoDemo.Common.BoundingBox.IsValid ( )
inline
override string Photon.MmoDemo.Common.BoundingBox.ToString ( )
inline
BoundingBox Photon.MmoDemo.Common.BoundingBox.UnionWith ( BoundingBox  other)
inline

Property Documentation

Vector Photon.MmoDemo.Common.BoundingBox.Max
getset
Vector Photon.MmoDemo.Common.BoundingBox.Min
getset
Vector Photon.MmoDemo.Common.BoundingBox.Size
get