Struct RectangleRenderState
Syntax
public struct RectangleRenderState : IComponentData
Fields
BaseSize
Declaration
Field Value
Border
The splitting lines for the slicing. Measured from the outside
and ordered Left, Bottom, Right, Top. Typical value is 0.25 for all 4.
Declaration
Field Value
ImageRenderType
If Simple, just stretched, and the values below aren't used.
If Sliced, 9-slices are used, and we need all the extra metadata to render.
Declaration
public ImageRenderType ImageRenderType
Field Value
Outer
Declaration
Field Value
PixelsPerUnit
Declaration
public float PixelsPerUnit
Field Value
PixelsPerUnitMultiplier
Declaration
public float PixelsPerUnitMultiplier
Field Value