CustomVisualizerContext Class
Gives an ICustomVisualizer or ICustomNativeVisualizer instance access to its proxy object.
NuGet/Assembly: Carmenta.Engine.5.17.0.nupkg (in the CECustomObjects assembly)
Syntax
public class CustomVisualizerContext : EngineObject
Remarks
An instance of this class is passed to a custom visualizer in the ICustomVisualizer.InitNew or ICustomNativeVisualizer.InitNew call. It gives the visualizer access to some properties of the proxy object.
Inheritance Hierarchy
System.Object
EngineObject
CustomVisualizerContext
Platforms
Windows, Linux, Android
CustomVisualizerContext Members
The CustomVisualizerContext type has the following members.
Properties
Name | Description |
---|---|
ConfigurationPath | Gets the directory the configuration file was loaded from. |
IsDisposed | Gets a value that tells whether the current CustomVisualizerContext has been disposed. Inherited from EngineObject |
LibraryPath | Gets the directory the custom object was loaded from. |
NativeHandle | Gets the native Carmenta Engine kernel object the current CustomVisualizerContext represents. Inherited from EngineObject |
UpdateAttributes | Gets the update attributes from the view. |
UserProperties | Gets the user-defined properties from the proxy. |
Visualizers | Gets the list of sub-visualizers from the proxy. |
Methods
Name | Description |
---|---|
Clone | Creates a copy of an object. Inherited from EngineObject |
Dispose | Releases the reference to the native Carmenta Engine kernel instance the EngineObject represents. Inherited from EngineObject |
Equals | Determines whether this instance is equal to another. Inherited from EngineObject |