Summary

Provides ability to generate Models at runtime. A static instance of this class is available at Model.Builder

Constructors

ModelBuilder

Methods

AddAnimation Adds an animation to this model and returns a builder to construct the animation.
AddBone Add a bone to the skeleton via a Sandbox.ModelBuilder.Bone struct.
AddBones Add multiple bones to the skeleton.
AddCollisionBox
AddCollisionCapsule Add capsule collision shape.
AddCollisionHull
AddCollisionMesh
AddCollisionSphere Add sphere collision shape.
AddMesh Add a mesh.
AddMeshes Add a bunch of meshes.
AddTraceMesh
Create Finish creation of the model.
WithLodDistance LOD switch distance increment for each Level of Detail (LOD) level. (Default is 50)
WithMass Total mass of the physics body (Default is 1000)
WithName Provide a name to identify the model by
WithSurface Surface property to use for collision
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.