public override MyVoxelHandShape CreateCopy() { MinerWars.AppCode.Game.Render.MyRender.GetRenderProfiler().StartProfilingBlock("MyVoxelHandSphere::CreateCopy"); MyVoxelHandSphere newSphere = new MyVoxelHandSphere(); newSphere.Init((MyMwcObjectBuilder_VoxelHand_Sphere)GetObjectBuilderInternal(false), null); newSphere.SetWorldMatrix(this.WorldMatrix); MinerWars.AppCode.Game.Render.MyRender.GetRenderProfiler().EndProfilingBlock(); return(newSphere); }
public override MyVoxelHandShape CreateCopy() { MinerWars.AppCode.Game.Render.MyRender.GetRenderProfiler().StartProfilingBlock("MyVoxelHandSphere::CreateCopy"); MyVoxelHandSphere newSphere = new MyVoxelHandSphere(); newSphere.Init((MyMwcObjectBuilder_VoxelHand_Sphere)GetObjectBuilderInternal(false), null); newSphere.SetWorldMatrix(this.WorldMatrix); MinerWars.AppCode.Game.Render.MyRender.GetRenderProfiler().EndProfilingBlock(); return newSphere; }