BEPUutilities2.ResourceManagement.Allocator.TryGetAllocationRegion C# (CSharp) Method

TryGetAllocationRegion() public method

Gets the allocation region associated with the given allocation id if it is present.
public TryGetAllocationRegion ( ulong allocationId, Allocation &allocation ) : bool
allocationId ulong Allocation id to look up the allocation for.
allocation Allocation Allocation associated with the id, if present.
return bool
        public bool TryGetAllocationRegion(ulong allocationId, out Allocation allocation)
        {
            return allocations.TryGetValue(allocationId, out allocation);
        }