private Model3DGroup CreateGeometry(bool isFinal) { return(ShieldEnergyDesign.CreateGeometry(this.MaterialBrushes, this.SelectionEmissives, GetTransformForGeometry(isFinal), WorldColors.ShieldBase_Color, WorldColors.ShieldBase_Specular, WorldColors.ShieldBase_Emissive, WorldColors.ShieldTractor_Color, WorldColors.ShieldTractor_Specular, isFinal)); }
public override UtilityNewt.IObjectMassBreakdown GetMassBreakdown(double cellSize) { if (_massBreakdown != null && _massBreakdown.Scale == Scale && _massBreakdown.CellSize == cellSize) { // This has already been built for this size return(_massBreakdown.Breakdown); } var breakdown = ShieldEnergyDesign.GetMassBreakdown(this.Scale, cellSize); // Store this _massBreakdown = new MassBreakdownCache(breakdown, Scale, cellSize); return(_massBreakdown.Breakdown); }
public override CollisionHull CreateCollisionHull(WorldBase world) { return(ShieldEnergyDesign.CreateCollisionHull(world, this.Scale, this.Orientation, this.Position)); }