public void GetSphere(ref SphereData data, out PhysicsMaterial material, int index) { int materialIndex = -1; EngineApplicationInterface.IPhysicsShape.GetSphereWithMaterial(this.Pointer, ref data, ref materialIndex, index); material = new PhysicsMaterial(materialIndex); }
public void AddSphere(SphereData data) => EngineApplicationInterface.IPhysicsShape.AddSphere(this.Pointer, ref data.Origin, data.Radius);
public void GetSphere(ref SphereData data, int index) => EngineApplicationInterface.IPhysicsShape.GetSphere(this.Pointer, ref data, index);