AoMEngineLibrary.Graphics.Grn.Nodes.GrnMeshWeightsNode.CalculateHighestStats C# (CSharp) Method

CalculateHighestStats() public method

public CalculateHighestStats ( ) : void
return void
        public void CalculateHighestStats()
        {
            for (int i = 0; i < this.VertexWeights.Count; ++i)
            {
                this.HighestVertexWeightCount =
                    Math.Max(this.HighestVertexWeightCount, this.VertexWeights[i].BoneIndices.Count);
                for (int j = 0; j < this.VertexWeights[i].BoneIndices.Count; ++j)
                {
                    this.HighestBoneIndex =
                        Math.Max(this.HighestBoneIndex, this.VertexWeights[i].BoneIndices[j]);
                }
            }
        }