TopDown Engine  v3.6
MoreMountains.TopDownEngine.WeaponAutoAimRadiusCircle Class Reference

This class will automatically draw a circle to match the radius of the auto aim weapon if there's one More...

Inheritance diagram for MoreMountains.TopDownEngine.WeaponAutoAimRadiusCircle:
MoreMountains.Tools.MMLineRendererCircle

Public Attributes

CharacterHandleWeapon TargetHandleWeaponAbility
 
- Public Attributes inherited from MoreMountains.Tools.MMLineRendererCircle
DrawAxis Axis = DrawAxis.Z
 the axis on which to draw the circle More...
 
float NormalOffset = 0
 the distance by which to push the circle on the draw axis More...
 
int PositionsCount = 60
 the amount of segments on the line renderer. More segments, more smoothness, more performance cost More...
 
float HorizontalRadius = 10
 the length of the circle's horizontal radius More...
 
float VerticalRadius = 10
 the length of the circle's vertical radius More...
 
bool AutoRedrawOnValuesChange = false
 if this is true, the circle will be redrawn every time you change a value in the inspector, otherwise you'll have to call the DrawCircle method (or press the debug button below) More...
 
bool DrawCircleButton
 a test button used to call the DrawCircle method More...
 

Protected Member Functions

override void Initialization ()
 On initialization, hooks itself to weapon changes More...
 
- Protected Member Functions inherited from MoreMountains.Tools.MMLineRendererCircle
virtual void Awake ()
 On Awake we initialize our line renderer and draw our circle More...
 
virtual float ComputeX ()
 Computes the x position of the new point More...
 
virtual float ComputeY ()
 Computes the y position of the new point More...
 
virtual void DrawCircleX ()
 Draws a circle on the x axis More...
 
virtual void DrawCircleY ()
 Draws a circle on the y axis More...
 
virtual void DrawCircleZ ()
 Draws a circle on the z axis More...
 
virtual void OnValidate ()
 On Validate we redraw our circle if needed More...
 

Additional Inherited Members

- Public Types inherited from MoreMountains.Tools.MMLineRendererCircle
enum  DrawAxis { DrawAxis.X, DrawAxis.Y, DrawAxis.Z }
 the possible axis More...
 
- Public Member Functions inherited from MoreMountains.Tools.MMLineRendererCircle
virtual void DrawCircle ()
 Sets all point positions for our line renderer More...
 
- Protected Attributes inherited from MoreMountains.Tools.MMLineRendererCircle
LineRenderer _line
 
Vector3 _newPosition
 
float _angle
 

Detailed Description

This class will automatically draw a circle to match the radius of the auto aim weapon if there's one

Member Function Documentation

◆ Initialization()

override void MoreMountains.TopDownEngine.WeaponAutoAimRadiusCircle.Initialization ( )
protectedvirtual

On initialization, hooks itself to weapon changes

Reimplemented from MoreMountains.Tools.MMLineRendererCircle.

Member Data Documentation

◆ TargetHandleWeaponAbility

CharacterHandleWeapon MoreMountains.TopDownEngine.WeaponAutoAimRadiusCircle.TargetHandleWeaponAbility

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