/// <summary> /// Return all animation states. /// </summary> private IReadOnlyList <AnimationState> GetAnimationStates() { Runtime.ValidateRefCounted(this); return(_GetAnimationStates_cache != null ? _GetAnimationStates_cache : _GetAnimationStates_cache = Runtime.CreateVectorSharedPtrRefcountedProxy <AnimationState> (AnimatedModel_GetAnimationStates(handle))); }