Struct RectPackNode
Implementation of the rectangles packing node into 2D atlas with padding. Uses simple space division via Binary Tree.
Inherited Members
RectPackNode
Assembly: FlaxEngine.dll
File: Engine/Utilities/RectPack.h
Syntax
public struct RectPackNode<SizeType>
Type Parameters
SizeType
|
Constructors
RectPackNode(Size x, Size y, Size width, Size height)
Declaration
public RectPackNode(Size x, Size y, Size width, Size height)
Parameters
Size
x
|
Size
y
|
Size
width
|
Size
height
|
Fields
Height
Declaration
public Size Height
Field Value
Size
|
Width
Declaration
public Size Width
Field Value
Size
|
X
Declaration
public Size X
Field Value
Size
|
Y
Declaration
public Size Y
Field Value
Size
|