Executes maxscript code to perform a Boolean query on the current scene state.
Public Member Functions |
|
MaxscriptContextQuery () | |
Constructor. |
|
override void | CopyFrom (Object source) |
Copy the given object's current property
values into this instance. |
|
override void | RefreshValue () |
Overridden to evaluate the Maxscript and set
its result as the current Value. |
|
Static Public Attributes |
|
static readonly DependencyProperty | MaxscriptProperty |
Maxscript executed when this
ContextQuery is evaluated. |
|
Protected Member Functions |
|
void | OnMaxscriptChanged (DependencyPropertyChangedEventArgs e) |
Properties |
|
String |
Maxscript [get, set] |
Maxscript executed when this
ContextQuery is evaluated. |
|
Events |
|
DependencyPropertyChangedEventHandler | MaxscriptChanged |
Fires when the Maxscript changes. |
WPFCustomControls::ContextQueries::MaxscriptContextQuery::MaxscriptContextQuery | ( | ) | [inline] |
Constructor.
override void WPFCustomControls::ContextQueries::MaxscriptContextQuery::CopyFrom | ( | Object | source | ) | [inline, virtual] |
Copy the given object's current property values into this instance.
source | Object to copy. |
Reimplemented from WPFCustomControls::ContextQueries::ContextQuery.
override void WPFCustomControls::ContextQueries::MaxscriptContextQuery::RefreshValue | ( | ) | [inline, virtual] |
Overridden to evaluate the Maxscript and set its result as the current Value.
Reimplemented from WPFCustomControls::ContextQueries::ContextQuery.
void WPFCustomControls::ContextQueries::MaxscriptContextQuery::OnMaxscriptChanged | ( | DependencyPropertyChangedEventArgs | e | ) | [inline, protected] |
readonly DependencyProperty
WPFCustomControls::ContextQueries::MaxscriptContextQuery::MaxscriptProperty
[static] |
DependencyProperty.Register( "Maxscript", typeof(String), typeof(MaxscriptContextQuery), new PropertyMetadata(new PropertyChangedCallback(OnMaxscriptPropertyChanged)))
Maxscript executed when this ContextQuery is evaluated.
String
WPFCustomControls::ContextQueries::MaxscriptContextQuery::Maxscript
[get, set] |
Maxscript executed when this ContextQuery is evaluated.
DependencyPropertyChangedEventHandler WPFCustomControls::ContextQueries::MaxscriptContextQuery::MaxscriptChanged |
Fires when the Maxscript changes.