MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::RenderDimensions::RadiusParams Struct Reference

#include <MRRenderDimensions.h>

Public Attributes

CommonParams common
 
Vector3f center
 The center point.
 
Vector3f radiusAsVector = Vector3f( 1, 0, 0 )
 The length of this is the radius. This is also the preferred drawing direction relative to center.
 
Vector3f normal = Vector3f( 0, 0, 1 )
 The preferred normal for non-spherical radiuses. The length is ignored, and this is automatically adjusted to be perpendicular to radiusAsVector.
 
bool drawAsDiameter = false
 Whether we should draw this as a diameter instead of a radius.
 
bool isSpherical = false
 Whether this is a sphere radius, as opposed to circle/cylinder radius.
 
float visualLengthMultiplier = 2 / 3.f
 

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