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.AnimancerLayerList.DefaultCapacity
.
- Assembly
- Animancer
.dll - Namespace
- Animancer
- Containing Type
- AnimancerLayerList
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.AnimancerLayerList.DefaultCapacity
before initializing this list.
Value
Type | Description |
---|---|
int |