AssetService:CreateMeshPartAsync
This method creates a MeshPart with a specified CollisionFidelity, RenderFidelity, and FluidFidelity. Because MeshPart.MeshId is read only, this method is for creating a mesh with any mesh ID through scripts, without having to clone an existing MeshPart. It throws errors if creation fails.
Parameters
Options table containing one or more controls for the method:
- CollisionFidelity – The value of CollisionFidelity in the resulting part. Defaults to Enum.CollisionFidelity.Default if the option is absent or the options table is nil.
- RenderFidelity – The value of RenderFidelity in the resulting part. Defaults to Enum.RenderFidelity.Automatic if the option is absent or the options table is nil.
- FluidFidelity – The value of FluidFidelity in the resulting part. Defaults to Enum.FluidFidelity.Automatic if the option is absent or the options table is nil.