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::BoundShapeQuad 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_corner1
 
AZ::Vector3 m_corner2
 
AZ::Vector3 m_corner3
 
AZ::Vector3 m_corner4
 

Detailed Description

The quad shape consists of 4 points in 3D space. Please set them from m_corner1 to m_corner4 in either clock-wise winding or counter clock-wise winding. In another word, m_corner1 and corner_2 cannot be diagonal corners.

Member Function Documentation

◆ MakeShapeInterface()

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

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