SurfaceEntity.Shape.Quad
public final class SurfaceEntity.Shape.Quad implements 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(@NonNull FloatSize2d extents) |
Public methods |
|
|---|---|
final @NonNull FloatSize2d |
The size of the Quad in the local spatial coordinate system of the entity. |
Public constructors
Public methods
getExtents
Added in 1.0.0-alpha09
public final @NonNull FloatSize2d getExtents()
The size of the Quad in the local spatial coordinate system of the entity.