This page has been translated automatically.
Programming
Fundamentials
Setting Up Development Environment
UnigineScript
High-Level Systems
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Controls-Related Classes
Core Library
Engine-Related Classes
GUI-Related Classes
Node-Related Classes
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
Rendering-Related Classes
Utility Classes
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

WorldBoundBox Class

WorldBoundBox Class

Members


WorldBoundBox ()

WorldBoundBox (const dvec3 & min, const dvec3 & max)

Arguments

  • const dvec3 & min
  • const dvec3 & max

WorldBoundBox (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

WorldBoundBox (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

void clear ()

int isValid ()

Return value

void set (const dvec3 & min, const dvec3 & max)

Arguments

  • const dvec3 & min
  • const dvec3 & max

const dvec3 & getMin ()

Return value

int insideAll (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

Return value

int inside (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

Return value

void set (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

int inside (const dvec3 & min, const dvec3 & max)

Arguments

  • const dvec3 & min
  • const dvec3 & max

Return value

const dvec3 & getMax ()

Return value

void expand (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

void expand (const WorldBoundBox & bb)

Arguments

  • const WorldBoundBox & bb

void expand (const dvec3 & point)

Arguments

  • const dvec3 & point

int inside (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

Return value

void set (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

int insideAll (const WorldBoundSphere & bs)

Arguments

  • const WorldBoundSphere & bs

Return value

int inside (const dvec3 & point, double radius)

Arguments

  • const dvec3 & point
  • double radius

Return value

Last update: 2017-07-03
Build: ()