Legacy Documentation: Version 5.0
Language: English
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

LayoutGroup.GetTotalFlexibleSize

Switch to Manual
protected function GetTotalFlexibleSize(axis: int): float;

Parameters

axisThe axis index. 0 is horizontal and 1 is vertical.

Returns

float The flexible size.

Description

The flexible size for the layout group on the given axis.