MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / GetEnumerator

Method GetEnumerator

StereoKit/Assets/Model.cs:927–932  ·  view source on GitHub ↗

Gets an enumerator for the collection. An enumerator.

()

Source from the content-addressed store, hash-verified

925 /// <summary>Gets an enumerator for the collection.</summary>
926 /// <returns>An enumerator.</returns>
927 public IEnumerator<Anim> GetEnumerator()
928 {
929 int count = Count;
930 for (int i = 0; i < count; i++)
931 yield return new Anim(_model, i);
932 }
933 IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
934 }
935}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected