The '''AxisRotationGizmo''' component is used for one of the any 3 axies of rotation for a rotation gizmo that can be interacted with through the [[Dev Tool]].
<!--T:2-->
<!--T:2-->
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TargetSlot|TransformRelayRef|
|TargetSlot|{{RootFieldType|TransformRelayRef}}|TypeAdv0=true| The slot to translate and edit.
|AutoPositionAtTargetSlot|Bool|
|AutoPositionAtTargetSlot|Bool| Whether to automatically position this at the target slot.
|_interactingComponent|Component|
|_interactingComponent|Component| the component This is interacting with.
|_material|OverlayFresnelMaterial|
|_material|'''[[OverlayFresnelMaterial|OverlayFresnelMaterial]]'''|TypeAdv3=true| The material being used for the visual.
|_toolPoint|Slot|
|_toolPoint|Slot| The point that follows the interacting tool's tip.
|_activePoint|Slot|
|_activePoint|Slot| The point that follows the gizmo visual.
|_lineRoot|Slot|
|_lineRoot|Slot| the root of the line visual from the gizmo to the interacting tool's tip.
|_lineSegment|SegmentMesh|
|_lineSegment|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv7=true| The segment mesh being used for the line visual.
|_snapHighlight|Slot|
|_snapHighlight|Slot| the root of the snap highlight for snapping.
|Axis|Float3|
|Axis|Float3| The direction of the 2d axis this will rotate along.
|LocalSpace|Slot|
|AxisSpace|{{RootFieldType|RootSpace}}|TypeAdv10=true| The coordinate space of <code>Axis</code>.
|UseParentSpace|Bool|
|RotationSpace|{{RootFieldType|RootSpace}}|TypeAdv11=true| The coordinate space of the <code>TargetRotation</code> drive target.
|OverrideRootSpace|RootSpace|
|TargetRotation|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:FloatQ|FloatQ]]>}}|TypeAdv12=true| A field to drive with the target rotation
|LocalSpace|Slot|
|TargetValue|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]<[[Type:Float|Float]]>}}|TypeAdv13=true| The field to drive <code>TargetRotation</code> with.
|UseParentSpace|Bool|
|CircleRadius|Float| The radius of the rotation circle gizmo.
|OverrideRootSpace|RootSpace|
|CircleThickness|Float| The thickness of the torus of the rotation gizmo.
|_visualRoot|Slot| The root slot of the visual for interaction.
|TargetValue|IField`1|TypeString13=IField<float>|
|_visualRot|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv17=true| The rotation field of the visual.
|CircleRadius|Float|
|_circle|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}|TypeAdv18=true| The torus mesh being used to make the rotation gizmo interact visual.
|CircleThickness|Float|
|_circleColliderMesh|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}|TypeAdv19=true| The collider for the circle rotation gizmo visual.
|_visualRoot|Slot|
|_referenceLine|{{RootFieldType|DriveRef`1|[[Component:SegmentMesh|SegmentMesh]]}}|TypeAdv20=true| The reference line mesh component.
|_visualRot|IField`1|TypeString17=IField<floatQ>|
|_linesRoot|Slot| The root of the visuals for the lines.
|_circle|TorusMesh|
|_line0|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv22=true| The line along the rotation plane to below the tooltip.
|_circleColliderMesh|TorusMesh|
|_line1|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv23=true| The line from the end of <code>_line0</code> to the tooltip.