Component:ConeGizmo

From Resonite Wiki
Component image 
Cone Gizmo component as seen in the Scene Inspector

The ConeGizmo component is auto generated for interaction with a Component:ConeMesh or Component:ConeCollider via a Dev Tool.

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. Some components stop their functionality when this field is disabled, but some don't.
TargetSlot direct TransformRelayRef The slot to translate and edit.
AutoPositionAtTargetSlot Bool Whether to automatically position this at the target slot.
_interactingComponent Component the component This is interacting with.
_material OverlayFresnelMaterial The material being used for the visual.
_toolPoint Slot The point that follows the interacting tool's tip.
_activePoint Slot The point that follows the gizmo visual.
_lineRoot Slot the root of the line visual from the gizmo to the interacting tool's tip.
_lineSegment SegmentMesh The segment mesh being used for the line visual.
_snapHighlight Slot the root of the snap highlight for snapping.
TargetAngle direct RelayRef`1<IField`1<Float>> The field being edited for the angle of the cone.
TargetRadius direct RelayRef`1<IField`1<Float>> The field being edited for the radius of the cone base.
TargetHeight direct RelayRef`1<IField`1<Float>> The field being edited for the height of the cone.
TargetDirection direct RelayRef`1<IField`1<Float3>> The field being edited for the cone direction.
TargetRotation direct RelayRef`1<IField`1<FloatQ>> The field being edited for the cone rotation.
DirectionSpace direct RootSpace The space Transform of TargetDirection.
FixedAngle Float The angle that the cone should be at (shape).
FixedHeight Float The height that the cone mesh should be.
FixedDirection Float3 The direction the cone should be facing.
LineThickness Float The thickness of the lines of the visual.
MinHeight Float The minimum height the cone can be set to.
MaxHeight Float The maximum height the cone can be set to.
MinAngle Float The minimum tip angle the cone can be set to (shape).
MaxAngle Float The maximum tip angle the cone can be set to (shape).
_visualRoot Slot The root slot of the visual for this gizmo.
_visualRot field drive of FloatQ The rotation field of tye _visualRoot slot.
_handles list of Handle A list of Handle objects this cone gizmo has.
_heightMesh reference drive of SegmentMesh The mesh being used to signal the height of the cone.
_coneLineMesh reference drive of SegmentMesh The line segment based mesh that shows the cone itself.

Handle

Fields
Name Type Description
RelativeHeight Float The relative height of this handle compared to the cone.
root Slot The root slot of the visual and interface of this handle.
offset field drive of Float3 The field to drive with the offset of the handle.
mesh reference drive of TorusMesh The mesh being used for this handle.

Usage

Generated automatically.

Examples

Used for interacting with cone objects via the Dev Tool.

See Also