LimitPointMappings

These are limits in screen space origin top /
/
/ >right left < / \ / \ / bottom opposite

Baseline angle is the average angle from [left-right, top-bottom]

Properties

  • totalPointCount (integer)
  • leftIndex (integer)
  • rightIndex (integer)
  • topIndex (integer)
  • bottomIndex (integer)
  • left (BGE.Math.Vector)
  • right (BGE.Math.Vector)
  • top (BGE.Math.Vector)
  • bottom (BGE.Math.Vector)
  • origin (BGE.Math.Vector)
  • opposite (BGE.Math.Vector)
  • baselineAngle (float)
  • width (float)
  • height (float)

Constructor

new LimitPointMappings( points: dynamic, screenSpace?: boolean, ): LimitPointMappings

Parameters

  • points (dynamic)
  • screenSpace (boolean, optional, default: true)

Instance Methods

getAngleBaseLineDifference(other: LimitPoints2d): float

Parameters

Returns

  • float