Open 3D Engine AzToolsFramework 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.
AzToolsFramework::Picking::BoundShapeTorus Class Reference

#include <ContextBoundAPI.h>

Inherits AzToolsFramework::Picking::BoundRequestShapeBase.

Public Member Functions

AZStd::shared_ptr< BoundShapeInterfaceMakeShapeInterface (RegisteredBoundId id) const override
 
- Public Member Functions inherited from AzToolsFramework::Picking::BoundRequestShapeBase
 AZ_RTTI (BoundRequestShapeBase, "{60D52E6E-54A6-4236-A397-322FD7607FA3}")
 
virtual AZStd::shared_ptr< BoundShapeInterfaceMakeShapeInterface (RegisteredBoundId id) const =0
 

Public Attributes

AZ::Vector3 m_axis
 
AZ::Vector3 m_center
 
float m_majorRadius
 
float m_minorRadius
 

Detailed Description

The torus shape is approximated by a cylinder whose radius is the sum of the torus's major radius and minor radius and height is twice the torus's minor radius.

Member Function Documentation

◆ MakeShapeInterface()

AZStd::shared_ptr< BoundShapeInterface > AzToolsFramework::Picking::BoundShapeTorus::MakeShapeInterface ( RegisteredBoundId  id) const
inlineoverridevirtual

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