Contents

motionKeyframeCount

The number of keyframes in the geometry data.

Declaration

var motionKeyframeCount: Int { get set }

Discussion

The default value is 1. If the value is greater than 1, all geometry descriptors that you attach to this descriptor need to be motion descriptors, and each needs to have exactly that many MTLMotionKeyframeData objects.

See Also

Related Documentation

Specifying motion behavior