AnimancerPlayable.LayerList.

AnimancerPlayable.

Capacity Property

Summary

[Pro-Only] The maximum number of layers that can be created before an System.ArgumentOutOfRangeException will be thrown. The initial capacity is determined by Animancer.AnimancerPlayable.LayerList.DefaultCapacity.
Assembly
Animancer.dll
Namespace
Animancer
Containing Type
AnimancerPlayable.LayerList

Syntax

public int Capacity { get; set; }

Remarks

Lowering this value will destroy any layers beyond the specified value.

Changing this value will cause the allocation of a new array and garbage collection of the old one, so you should generally set the Animancer.AnimancerPlayable.LayerList.DefaultCapacity before initializing this list.

Value

Type Description
int