MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getBoxCenter

Method getBoxCenter

Engine/source/scene/sceneObject.h:513–513  ·  view source on GitHub ↗

Returns the center of the bounding box in world coordinates

Source from the content-addressed store, hash-verified

511
512 /// Returns the center of the bounding box in world coordinates
513 Point3F getBoxCenter() const { return ( mWorldBox.minExtents + mWorldBox.maxExtents ) * 0.5f; }
514
515 /// Sets the Object -> World transform
516 ///

Callers 11

sampleMethod · 0.80
processTickMethod · 0.80
getUpdatedBoxCenterMethod · 0.80
getUpdatedBoxCenterMethod · 0.80
getUpdatedBoxCenterMethod · 0.80
getUpdatedBoxCenterMethod · 0.80
checkInLosMethod · 0.80
checkInFoVMethod · 0.80
_scanCallbackFunction · 0.80
_trackTargetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected