API Reference › Value › Value.as_int
method

Value.as_int

Value.as_int(value) -> int

Returns the raw scalar an int/fixed/bool node carries (a fixed comes back as its Q16.16 bits). Non-scalar nodes return 0.

← All symbols