build Constructors 1

functions Methods 24

AddAnimation (name, frameRate)
AnimationBuilder
Adds an animation to this model and returns a builder to construct the animation.
AddAttachment (name, position, rotation, parentName)
ModelBuilder
Add an attachment to the skeleton.
AddBallJoint (body1, body2, frame1, frame2, collision)
BallJointBuilder
AddBody (mass, surface, boneName)
PhysicsBodyBuilder
Adds a new physics body to this object.
AddBone (bone)
Add a bone to the skeleton via a Sandbox.ModelBuilder.Bone struct.
AddBones (bones)
Add multiple bones to the skeleton.
AddCollisionBox (extents, center, rotation)
ModelBuilder
AddCollisionCapsule (center0, center1, radius)
ModelBuilder
Add capsule collision shape.
AddCollisionHull (vertices, center, rotation)
ModelBuilder
AddCollisionMesh (vertices, indices)
ModelBuilder
AddCollisionSphere (radius, center)
ModelBuilder
Add sphere collision shape.
AddFixedJoint (body1, body2, frame1, frame2, collision)
FixedJointBuilder
AddHingeJoint (body1, body2, frame1, frame2, collision)
HingeJointBuilder
AddMaterialGroup (name)
MaterialGroupBuilder
Add a named material group builder.
AddMesh (mesh)
ModelBuilder
Add a mesh.
AddMeshes (meshes)
ModelBuilder
Add a bunch of meshes.
AddSliderJoint (body1, body2, frame1, frame2, collision)
SliderJointBuilder
AddSurface (surface)
ModelBuilder
AddTraceMesh (vertices, indices)
ModelBuilder
Create ()
Model
Finish creation of the model.
WithLodDistance (lod, distance)
ModelBuilder
LOD switch distance increment for each Level of Detail (LOD) level. (Default is 50)
WithMass (mass)
ModelBuilder
Total mass of the physics body (Default is 1000)
WithName (name)
ModelBuilder
Provide a name to identify the model by
WithSurface (name)
ModelBuilder
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.