This command changes the sort strategy of SceneMaterialExplorer.
Public Member Functions |
|
override void | Execute () |
When called, set the sort strategy to target
sort strategy. |
|
override bool | IsValid () |
Tell whether the command is valid to be
called. |
|
Static Public Member Functions |
|
static ChangeSortStrategyCommand | Create (String name, SceneMaterialSortStrategy targetSortStrategy) |
Creates a new ChangeSortStrategyCommand.
|
|
Protected Member Functions |
|
override bool | IsChecked () |
Get the internal check state of the command.
|
|
Properties |
|
override string |
Name [get] |
This Command's internationalized name.
|
|
override Explorer |
Explorer [get, set] |
The Explorer on which this Command will
operate and access data. |
static ChangeSortStrategyCommand MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Create | ( | String | name, |
SceneMaterialSortStrategy | targetSortStrategy | ||
) | [inline, static] |
Creates a new ChangeSortStrategyCommand.
name | The name of the command. |
targetSortStrategy | The target sort strategy. |
override void MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Execute | ( | ) | [inline] |
When called, set the sort strategy to target sort strategy.
override bool MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::IsValid | ( | ) | [inline] |
Tell whether the command is valid to be called.
Reimplemented from MaxCustomControls::CommandSystem::StubCommand.
override bool MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::IsChecked | ( | ) | [inline, protected, virtual] |
Get the internal check state of the command.
Implements MaxCustomControls::CommandSystem::CheckableCommand.
override string
MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Name
[get] |
This Command's internationalized name.
override Explorer
MaxCustomControls::MaterialExplorerControls::ChangeSortStrategyCommand::Explorer
[get, set] |
The Explorer on which this Command will operate and access data.
Reimplemented from MaxCustomControls::CommandSystem::CheckableCommand.