Open 3D Engine LmbrCentral Gem 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.
LmbrCentral::BoxShapeComponentRequests Class Referenceabstract

Services provided by the Box Shape Component. More...

#include <BoxShapeComponentBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual BoxShapeConfig GetBoxConfiguration ()=0
 
virtual AZ::Vector3 GetBoxDimensions () const =0
 Gets dimensions for the Box Shape.
 
virtual void SetBoxDimensions (const AZ::Vector3 &newDimensions)=0
 Sets new dimensions for the Box Shape.
 
virtual bool IsTypeAxisAligned ()=0
 Returns true if the object type is axis-aligned box shape, otherwise false (regardless of orientation).
 

Detailed Description

Services provided by the Box Shape Component.

Member Function Documentation

◆ GetBoxDimensions()

virtual AZ::Vector3 LmbrCentral::BoxShapeComponentRequests::GetBoxDimensions ( ) const
pure virtual

Gets dimensions for the Box Shape.

Returns
Vector3 indicating dimensions along the x,y & z axis

◆ SetBoxDimensions()

virtual void LmbrCentral::BoxShapeComponentRequests::SetBoxDimensions ( const AZ::Vector3 &  newDimensions)
pure virtual

Sets new dimensions for the Box Shape.

Parameters
newDimensionsVector3 indicating new dimensions along the x,y & z axis

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