DOTS Geometry
 
Loading...
Searching...
No Matches
LineRendererExtensions Class Reference

Static Public Member Functions

static void SetPositionsFromBounds (this LineRenderer lineRenderer, Bounds bounds)
 Sets the line renderer positions based on the corners of the cuboid defined by the bounds.
 

Member Function Documentation

◆ SetPositionsFromBounds()

static void SetPositionsFromBounds ( this LineRenderer lineRenderer,
Bounds bounds )
static

Sets the line renderer positions based on the corners of the cuboid defined by the bounds.

Parameters
lineRenderer
bounds