C# Class SEToolbox.ViewModels.Import3DModelViewModel

Inheritance: BaseViewModel
显示文件 Open project: midspace/SEToolbox Class Usage Examples

Public Methods

Method Description
Browse3DModelCanExecute ( ) : bool
Browse3DModelExecuted ( ) : void
BuildEntity ( ) : VRage.ObjectBuilders.MyObjectBuilder_EntityBase
BuildTestEntity ( ) : VRage.Game.MyObjectBuilder_CubeGrid
CancelCanExecute ( ) : bool
CancelExecuted ( ) : void
CreateCanExecute ( ) : bool
CreateExecuted ( ) : void
Import3DModelViewModel ( BaseViewModel parentViewModel, Import3DModelModel dataModel ) : System
Import3DModelViewModel ( BaseViewModel parentViewModel, Import3DModelModel dataModel, IDialogService dialogService, Func openFileDialogFactory ) : System

Private Methods

Method Description
BuildAsteroidEntity ( ) : VRage.Game.MyObjectBuilder_VoxelMap
BuildShipEntity ( ) : VRage.Game.MyObjectBuilder_CubeGrid
FilenameChanged ( ) : void
ProcessFilename ( string filename ) : void
ProcessModelScale ( ) : void

Method Details

Browse3DModelCanExecute() public method

public Browse3DModelCanExecute ( ) : bool
return bool

Browse3DModelExecuted() public method

public Browse3DModelExecuted ( ) : void
return void

BuildEntity() public method

public BuildEntity ( ) : VRage.ObjectBuilders.MyObjectBuilder_EntityBase
return VRage.ObjectBuilders.MyObjectBuilder_EntityBase

BuildTestEntity() public method

public BuildTestEntity ( ) : VRage.Game.MyObjectBuilder_CubeGrid
return VRage.Game.MyObjectBuilder_CubeGrid

CancelCanExecute() public method

public CancelCanExecute ( ) : bool
return bool

CancelExecuted() public method

public CancelExecuted ( ) : void
return void

CreateCanExecute() public method

public CreateCanExecute ( ) : bool
return bool

CreateExecuted() public method

public CreateExecuted ( ) : void
return void

Import3DModelViewModel() public method

public Import3DModelViewModel ( BaseViewModel parentViewModel, Import3DModelModel dataModel ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.Import3DModelModel
return System

Import3DModelViewModel() public method

public Import3DModelViewModel ( BaseViewModel parentViewModel, Import3DModelModel dataModel, IDialogService dialogService, Func openFileDialogFactory ) : System
parentViewModel BaseViewModel
dataModel SEToolbox.Models.Import3DModelModel
dialogService IDialogService
openFileDialogFactory Func
return System