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::CapsuleShapeComponentRequests Class Referenceabstract

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

#include <CapsuleShapeComponentBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual CapsuleShapeConfig GetCapsuleConfiguration ()=0
 
virtual float GetHeight ()=0
 Returns the end to end height of the capsule, this includes the cylinder and both caps.
 
virtual float GetRadius ()=0
 Returns the radius of the capsule.
 
virtual CapsuleInternalEndPoints GetCapsulePoints ()=0
 Returns the base and top points of the capsule, corresponding to the center points of the cap spheres.
 
virtual void SetHeight (float height)=0
 Sets the end to end height of capsule, this includes the cylinder and both caps.
 
virtual void SetRadius (float radius)=0
 Sets radius of the capsule.
 

Detailed Description

Services provided by the Capsule Shape Component.

Member Function Documentation

◆ SetHeight()

virtual void LmbrCentral::CapsuleShapeComponentRequests::SetHeight ( float  height)
pure virtual

Sets the end to end height of capsule, this includes the cylinder and both caps.

Parameters
heightnew height of the capsule.

◆ SetRadius()

virtual void LmbrCentral::CapsuleShapeComponentRequests::SetRadius ( float  radius)
pure virtual

Sets radius of the capsule.

Parameters
radiusnew radius of the capsule.

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