//ConeShape public ConeShape AddConeShape(float radius, float height) { IConeShapeImp iConeShapeImp = _dwi.AddConeShape(radius, height); var retval = new ConeShape(); retval._coneShapeImp = iConeShapeImp; iConeShapeImp.UserObject = retval; return(retval); }
/// <summary> /// Adds a cone as a child shape. /// </summary> /// <param name="localTransform">The local transformation of the child shape.</param> /// <param name="childShape">The child shape.</param> public void AddChildShape(float4x4 localTransform, ConeShape childShape) { _compoundShapeImp.AddChildShape(localTransform, childShape._coneShapeImp); }