private Model3DGroup CreateGeometry(bool isFinal) { return(ConverterEnergyToFuelDesign.CreateGeometry(this.MaterialBrushes, this.SelectionEmissives, GetTransformForGeometry(isFinal), WorldColors.ConverterBase_Color, WorldColors.ConverterBase_Specular, WorldColors.ConverterPlasma_Color, WorldColors.ConverterPlasma_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 = ConverterEnergyToFuelDesign.GetMassBreakdown(this.Scale, cellSize); // Store this _massBreakdown = new MassBreakdownCache(breakdown, Scale, cellSize); return(_massBreakdown.Breakdown); }
public override CollisionHull CreateCollisionHull(WorldBase world) { return(ConverterEnergyToFuelDesign.CreateCollisionHull(world, this.Scale, this.Orientation, this.Position)); }