Skip to main content

GizmoPath

Complete API reference for GizmoPath, including constructors, attributes, virtual attributes, and methods.

Package: JAVARuntime

Category: Debug

Component: no


public class GizmoPath extends GizmoElement

Constructors

SignatureDescription
GizmoPath()Creates a new instance of GizmoPath.

Attributes

NameTypeDescription
rotMatrixfloat[]Represents the rotMatrix value stored on this instance. Read or assign to update the property.
createdEntriesintRepresents the createdEntries value stored on this instance. Read or assign to update the property.

Virtual Attributes

NameTypeAccessDescription
colorColorget/setVirtual attribute exposed by getColor. Access it like a field to read or write the underlying value.
matrixfloat[]get/setVirtual attribute exposed by getMatrix. Access it like a field to read or write the underlying value.
positionVector3get/setVirtual attribute exposed by getPosition. Access it like a field to read or write the underlying value.
rotationQuaternionget/setVirtual attribute exposed by getRotation. Access it like a field to read or write the underlying value.
scaleVector3get/setVirtual attribute exposed by getScale. Access it like a field to read or write the underlying value.
userPointerObjectget/setVirtual attribute exposed by getUserPointer. Access it like a field to read or write the underlying value.
wireFrameWidthintget/setVirtual attribute exposed by getWireFrameWidth. Access it like a field to read or write the underlying value.

Methods

SignatureReturnsDescription
setPosition(float, float, float)voidSets or updates the position.
setRotation(float, float, float)voidSets or updates the rotation.
setRotation(float, float, float, float)voidSets or updates the rotation.
setScale(float, float, float)voidSets or updates the scale.
clear()voidClears or resets the object's state.
addLine(Vector3, Vector3)GizmoPathAdds line to the collection.
addLineUnsafe(Vector3, Vector3)GizmoPathAdds line unsafe to the collection.
addPath(List<Vector2>)GizmoPathAdds path to the collection.
apply()voidExecutes apply and returns after the underlying engine call finishes.
destroy()voidExecutes destroy and returns after the underlying engine call finishes.
getVertex()VertexReturns the current vertex.
getRenderMode()RenderModeReturns the current render mode.