Kanzi 4.0.0-beta2
kanzi::DebugVisualization::GridSettings Class Reference

Grid settings. More...

#include <kanzi/core.ui/node/debug_visualization.hpp>

Public Member Functions

 GridSettings (float spacing, Vector3 center)
 Constructor.
 
bool matches (const GridSettings &other)
 Indicates whether the current state matches given settings.
 
GridSettingsoperator= (const GridSettings &other)
 Assignment operator.
 

Public Attributes

Vector3 m_gridCenter
 Center of the grid.
 
float m_spacing
 Spacing.
 

Detailed Description

Grid settings.

Constructor & Destructor Documentation

◆ GridSettings()

kanzi::DebugVisualization::GridSettings::GridSettings ( float spacing,
Vector3 center )
inlineexplicit

Constructor.

Parameters
spacingGrid spacing.
centerCenter of the grid.

Member Function Documentation

◆ matches()

bool kanzi::DebugVisualization::GridSettings::matches ( const GridSettings & other)
inline

Indicates whether the current state matches given settings.

Parameters
otherGridSettings object to campare.

◆ operator=()

GridSettings & kanzi::DebugVisualization::GridSettings::operator= ( const GridSettings & other)
inline

Assignment operator.

Parameters
otherOther settings to copy from.

Member Data Documentation

◆ m_spacing

float kanzi::DebugVisualization::GridSettings::m_spacing

Spacing.

◆ m_gridCenter

Vector3 kanzi::DebugVisualization::GridSettings::m_gridCenter

Center of the grid.


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