Click or drag to resize

Curve3DGetClosestOffset Method

Returns the closest offset to to_point. This offset is meant to be used in InterpolateBaked(Single, Boolean) or InterpolateBakedUpVector(Single, Boolean).

to_point must be in this curve's local space.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public float GetClosestOffset(
	Vector3 toPoint
)

Parameters

toPoint
Type: GodotVector3

[Missing <param name="toPoint"/> documentation for "M:Godot.Curve3D.GetClosestOffset(Godot.Vector3)"]

Return Value

Type: Single

[Missing <returns> documentation for "M:Godot.Curve3D.GetClosestOffset(Godot.Vector3)"]

See Also