EntityCommandRecorder.EntityCommandRecorder(int,int).md
March 19, 2022 ยท View on GitHub
DefaultEcs
DefaultEcs.Command.EntityCommandRecorder
EntityCommandRecorder(int, int) Constructor
Creates an EntityCommandRecorder with a custom default size which can grow to a maximum capacity.
public EntityCommandRecorder(int capacity, int maxCapacity);
Parameters
capacity System.Int32
The default size of the EntityCommandRecorder.
maxCapacity System.Int32
The maximum capacity of the EntityCommandRecorder.
Exceptions
System.ArgumentException
capacity cannot be negative.
System.ArgumentException
maxCapacity cannot be negative.
System.ArgumentException
maxCapacity is inferior to capacity.