BGE/RendererHelpers

Alias: BGE.RendererHelpers


Static Methods

createTriangleBitmap( bitmap: ifDraw2d, points: dynamic, ): TriangleBitmap

static

Parameters

  • bitmap (ifDraw2d)
  • points (dynamic)

Returns

createRegionWithId(region: roRegion, id?: string): RegionWithId

static

Parameters

  • region (roRegion)
  • id (string, optional, default: "\"\"")

Returns

Other

TriangleBitmap

static

Properties

  • bitmap (ifDraw2d)
  • triangle (BGE.Math.Triangle)
  • scratchRegion (BGE.ScratchRegion)
  • scale (BGE.Math.Vector)

RegionWithId

static

Properties

  • region (roRegion)
  • id (string)

LimitPointMappings

static

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

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

Parameters

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

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)

Returns

  • BGE.RendererHelpers.LimitPointMappings

LimitPoints2d

static

Properties

  • left (BGE.Math.Vector)
  • right (BGE.Math.Vector)
  • top (BGE.Math.Vector)
  • bottom (BGE.Math.Vector)