Open 3D Engine AzToolsFramework API Reference 26.05.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AzToolsFramework::Picking::ManipulatorBoundTorus Class Reference

Inherits AzToolsFramework::Picking::BoundShapeInterface.

Public Member Functions

 AZ_RTTI (ManipulatorBoundTorus, "{46E4711C-178A-4F97-BC14-A048D096E7A1}", BoundShapeInterface)
 
 AZ_CLASS_ALLOCATOR (ManipulatorBoundTorus, AZ::SystemAllocator)
 
 ManipulatorBoundTorus (RegisteredBoundId boundId)
 
bool IntersectRay (const AZ::Vector3 &rayOrigin, const AZ::Vector3 &rayDir, float &rayIntersectionDistance) const override
 
void SetShapeData (const BoundRequestShapeBase &shapeData) override
 

Public Attributes

AZ::Vector3 m_center = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_axis = AZ::Vector3::CreateZero()
 
float m_majorRadius = 0.0f
 Usually denoted as "R", the distance from the center of the tube to the center of the torus.
 
float m_minorRadius = 0.0f
 Usually denoted as "r", the radius of the tube.
 

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