Class PathPoint
- Namespace
- Gsk
- Assembly
- Gsk-4.0.dll
public sealed class PathPoint : BoxedRecord, GTypeProvider, InstanceFactory, IEquatable<PathPoint>, IDisposable
- Inheritance
-
PathPoint
- Implements
- Inherited Members
Constructors
PathPoint()
public PathPoint()
PathPoint(PathPointOwnedHandle)
public PathPoint(PathPointOwnedHandle handle)
Parameters
handlePathPointOwnedHandle
Properties
Handle
public PathPointOwnedHandle Handle { get; }
Property Value
Methods
Compare(PathPoint)
[Version("4.14")]
public int Compare(PathPoint point2)
Parameters
point2PathPoint
Returns
Copy()
[Version("4.14")]
public PathPoint Copy()
Returns
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()
Equal(PathPoint)
[Version("4.14")]
public bool Equal(PathPoint point2)
Parameters
point2PathPoint
Returns
Equals(PathPoint?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(PathPoint? other)
Parameters
otherPathPointAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
objobjectThe object to compare with the current object.
Returns
Free()
[Version("4.14")]
public void Free()
GetDistance(PathMeasure)
[Version("4.14")]
public float GetDistance(PathMeasure measure)
Parameters
measurePathMeasure
Returns
GetGType()
public static Type GetGType()
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.
GetPosition(Path, out Point)
[Version("4.14")]
public void GetPosition(Path path, out Point position)
Parameters
GetRotation(Path, PathDirection)
[Version("4.14")]
public float GetRotation(Path path, PathDirection direction)
Parameters
pathPathdirectionPathDirection
Returns
GetTangent(Path, PathDirection, out Vec2)
[Version("4.14")]
public void GetTangent(Path path, PathDirection direction, out Vec2 tangent)
Parameters
pathPathdirectionPathDirectiontangentVec2