FloatSizeLimit

This node property defines the maximum size for a SizeLock node. Nodes can be given a limit by setting either width or height.

The init value defaults to no restrictions.

Members

Functions

apply
void apply(SizeLock!T node)
Undocumented in source. Be warned that the author may not have intended to support it.
height
inout(float) height()
isHeightLimited
bool isHeightLimited()
isWidthLimited
bool isWidthLimited()
width
inout(float) width()

Variables

limit
auto limit;

The imposed limit as a vector. The x field is the maximum width, and y is the maximum height. They both default to infinity, effectively not setting any limit.

Meta