Method AddSphere
- Namespace
- Box3D
- Assembly
- Box3D.NET.dll
AddSphere(Sphere, PhysicsMaterial?)
Adds a sphere.
public CompoundBuilder AddSphere(Sphere sphere, PhysicsMaterial? material = null)Parameters
sphereSphere-
The sphere, in compound-local space.
materialPhysicsMaterial?-
The surface material, or null for the defaults.
Returns
- CompoundBuilder
-
This builder, so calls can be chained.