Open 3D Engine AtomLyIntegration Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Render::GridComponentRequests Class Referenceabstract

GridComponentRequestBus declares an interface for configuring and interacting with the grid component. More...

#include <GridComponentBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void SetSize (float size)=0
 Sets the dimensions of the grid in meters.
 
virtual float GetSize () const =0
 Returns the dimensions of the grid in meters.
 
virtual void SetPrimarySpacing (float spacing)=0
 Sets the distance between grid lines drawn in the primary grid color.
 
virtual float GetPrimarySpacing () const =0
 Returns the distance between grid lines drawn and the primary grid color.
 
virtual void SetSecondarySpacing (float spacing)=0
 Sets the distance between grid lines drawn in the secondary grid color.
 
virtual float GetSecondarySpacing () const =0
 Returns the distance between grid lines drawn in the secondary grid color.
 
virtual void SetAxisColor (const AZ::Color &color)=0
 Sets the color of the axis lines spanning the grid dimensions.
 
virtual AZ::Color GetAxisColor () const =0
 Returns the color of the axis lines spanning the grid dimensions.
 
virtual void SetPrimaryColor (const AZ::Color &color)=0
 Sets the color of primary grid lines.
 
virtual AZ::Color GetPrimaryColor () const =0
 Returns the color of primary grid lines.
 
virtual void SetSecondaryColor (const AZ::Color &color)=0
 Sets the color of secondary grid lines.
 
virtual AZ::Color GetSecondaryColor () const =0
 Returns the color of secondary grid lines.
 

Detailed Description

GridComponentRequestBus declares an interface for configuring and interacting with the grid component.


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