CompositeTexture.resize

Set a new size for the texture; recalculate the chunk number

struct CompositeTexture
void
resize
(,
bool alwaysMax = false
)

Parameters

size Vector2

New size of the texture.

alwaysMax bool

Always give chunks maximum size. Improves performance in nodes that frequently change their content.

Meta