Class: PointOffset

A dynamic point whose position is offset from another Point.

Static Methods


PointOffset PointOffset.new()
PointOffset PointOffset.new(point: Point)
PointOffset PointOffset.new(point: Point, offset: Vector2)
PointOffset PointOffset.new(point: Point, x_offset: number, y_offset: number)

Properties


Point Point

Holds a reference to a Point.

Vector2 Offset

Describes an offset to the Point.

Inherited from Point:
Vector2 ScreenPos [readonly]

A Point's screen position.

bool Visible [readonly]

Determines whether a Point is rendered.

bool HasColorOverride

Toggles the overriding of a Point's color. Used when rendering a Point using a triangulated PolylineDynamic.

Color3 ColorOverride

Overrides a Point's color when HasColorOverride is true.

Vector3 ColorOverrideVec3 [writeonly]

Sets ColorOverride using a Vector3. Write-only.

number ColorOverrideOpacity

Determines the opacity of a Point's override color.