init(positions:)
Creates a cloth pose resource with the given vertex positions.
Declaration
@MainActor convenience init(positions: [SIMD3<Float>]) throwsParameters
- positions:
The positions to assign to the vertices of a matching Clothmeshresource.
Creates a cloth pose resource with the given vertex positions.
@MainActor convenience init(positions: [SIMD3<Float>]) throwsThe positions to assign to the vertices of a matching Clothmeshresource.