Open 3D Engine AzFramework API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzFramework::BoundsRequests Class Referenceabstract

Implemented by components that provide bounds for use with various systems. More...

#include <BoundsBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual AZ::Aabb GetWorldBounds ()=0
 
virtual AZ::Aabb GetLocalBounds ()=0
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

Detailed Description

Implemented by components that provide bounds for use with various systems.

Member Function Documentation

◆ GetLocalBounds()

virtual AZ::Aabb AzFramework::BoundsRequests::GetLocalBounds ( )
pure virtual

Returns an axis aligned bounding box in local space.

Note
It is preferred to use CalculateEntityLocalBoundsUnion in the general case as more than one component may be providing a bound. It isn't guaranteed which bound will be returned by a single call to GetLocalBounds.

◆ GetWorldBounds()

virtual AZ::Aabb AzFramework::BoundsRequests::GetWorldBounds ( )
pure virtual

Returns an axis aligned bounding box in world space.

Note
It is preferred to use CalculateEntityWorldBoundsUnion in the general case as more than one component may be providing a bound. It isn't guaranteed which bound will be returned by a single call to GetWorldBounds.

The documentation for this class was generated from the following file: