Node.resizeChild

Resize a child of this node.

class Node
protected
Vector2
resizeChild
(,
Vector2 space
)

Parameters

child Node

Child node to resize.

space Vector2

Maximum space available for the child to use.

Return Value

Type: Vector2

Space allocated by the child node.

Meta