Component:AxisRotationGizmo: Difference between revisions

From Resonite Wiki
imported>AshtonSparx
 
add info on the root space to unify meaning
 
(3 intermediate revisions by 2 users not shown)
Line 11: Line 11:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TargetSlot|TransformRelayRef|  
|TargetSlot|{{RootFieldType|TransformRelayRef}}|TypeAdv0=true|
|AutoPositionAtTargetSlot|Bool|
|AutoPositionAtTargetSlot|Bool|
|_interactingComponent|Component|
|_interactingComponent|Component|
|_material|OverlayFresnelMaterial|
|_material|'''[[OverlayFresnelMaterial|OverlayFresnelMaterial]]'''|TypeAdv3=true|
|_toolPoint|Slot|
|_toolPoint|Slot|
|_activePoint|Slot|
|_activePoint|Slot|
|_lineRoot|Slot|
|_lineRoot|Slot|
|_lineSegment|SegmentMesh|
|_lineSegment|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv7=true|
|_snapHighlight|Slot|
|_snapHighlight|Slot|
|Axis|Float3|
|Axis|Float3|
|LocalSpace|Slot|
|AxisSpace|{{RootFieldType|RootSpace}}|TypeAdv10=true| The coordinate space of the <code>Axis</code> value.
|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]]&lt;[[Type:FloatQ|FloatQ]]&gt;}}|TypeAdv12=true|
|LocalSpace|Slot|
|TargetValue|{{RootFieldType|RelayRef`1|[[Type:IField`1|IField`1]]&lt;[[Type:Float|Float]]&gt;}}|TypeAdv13=true|
|UseParentSpace|Bool|
|OverrideRootSpace|RootSpace|
|TargetRotation|IField`1|TypeString12=IField<floatQ>|
|TargetValue|IField`1|TypeString13=IField<float>|
|CircleRadius|Float|
|CircleRadius|Float|
|CircleThickness|Float|
|CircleThickness|Float|
|_visualRoot|Slot|
|_visualRoot|Slot|
|_visualRot|IField`1|TypeString17=IField<floatQ>|
|_visualRot|{{RootFieldType|FieldDrive`1|[[Type:FloatQ|FloatQ]]}}|TypeAdv17=true|
|_circle|TorusMesh|
|_circle|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}|TypeAdv18=true|
|_circleColliderMesh|TorusMesh|
|_circleColliderMesh|{{RootFieldType|DriveRef`1|[[Component:TorusMesh|TorusMesh]]}}|TypeAdv19=true|
|_referenceLine|SegmentMesh|
|_referenceLine|{{RootFieldType|DriveRef`1|[[Component:SegmentMesh|SegmentMesh]]}}|TypeAdv20=true|
|_linesRoot|Slot|
|_linesRoot|Slot|
|_line0|SegmentMesh|
|_line0|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv22=true|
|_line1|SegmentMesh|
|_line1|'''[[Component:SegmentMesh|SegmentMesh]]'''|TypeAdv23=true|
}}
}}



Latest revision as of 17:19, 23 October 2024


This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Component image 
Axis Rotation Gizmo component as seen in the Scene Inspector


Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled.
TargetSlot direct TransformRelayRef
AutoPositionAtTargetSlot Bool
_interactingComponent Component
_material OverlayFresnelMaterial
_toolPoint Slot
_activePoint Slot
_lineRoot Slot
_lineSegment SegmentMesh
_snapHighlight Slot
Axis Float3
AxisSpace direct RootSpace The coordinate space of the Axis value.
RotationSpace direct RootSpace The coordinate space of the TargetRotation drive target.
TargetRotation direct RelayRef`1<IField`1<FloatQ>>
TargetValue direct RelayRef`1<IField`1<Float>>
CircleRadius Float
CircleThickness Float
_visualRoot Slot
_visualRot field drive of FloatQ
_circle direct DriveRef`1<TorusMesh>
_circleColliderMesh direct DriveRef`1<TorusMesh>
_referenceLine direct DriveRef`1<SegmentMesh>
_linesRoot Slot
_line0 SegmentMesh
_line1 SegmentMesh

Usage

Used for Gizmos.

Examples

Related Components