SurfaceEntity.Shape.Quad


class SurfaceEntity.Shape.Quad : SurfaceEntity.Shape


A Quadrilateral-shaped canvas. Width and height are expressed in the X and Y axis in the local spatial coordinate system of the entity. (0,0) is the center of the Quad mesh; the lower-left corner of the Quad is at (-width/2, -height/2).

Summary

Public constructors

Quad(extents: FloatSize2d)

Public properties

FloatSize2d

The size of the Quad in the local spatial coordinate system of the entity.

Public constructors

Quad

Added in 1.0.0-alpha07
Quad(extents: FloatSize2d)

Public properties

extents

Added in 1.0.0-alpha07
val extentsFloatSize2d

The size of the Quad in the local spatial coordinate system of the entity.