/// <inheritdoc/> protected override NodeRecord CreateChildRecord(byte index) { var childId = NodeRecord.Identifier + index.ToString(); var parentCenter = NodeRecord.Bounds.center; var parentSize = NodeRecord.Bounds.size; var quarterSize = NodeRecord.Bounds.size * 0.25f; var childSize = parentSize * 0.5f; var centerOffset = Vector3.Scale(quarterSize, TreeUtility.GetOctreeOffsetVector(index)); var bounds = new Bounds(parentCenter + centerOffset, childSize); return(new OctreeNodeRecord(childId, bounds, 0)); }