Public Member Functions | |
| Brush | CreateBrush (string name, BrushLibrary parent, BrushTypeEnum brushType) |
| Node | CreateComponentNode (string name, Node parent, ComponentType componentType) |
| DataSource | CreateDataSource (string name, DataSourceType dataSourceType) |
| NodeComponent | CreateNodeComponent (string name, NodeComponentHost parent, NodeComponentType nodeComponentType) |
| Creates a node component to the specified parent. More... | |
| ProjectItem | CreateProjectItem (Type projectItemType, string name, ProjectItem parent) |
| Creates a project item. More... | |
| T | CreateProjectItem< T > (string name, ProjectItem parent) |
| Creates a project item. More... | |
| RenderPass | CreateRenderPass (string name, AbstractComposer parent, RenderPassType renderPassType) |
| ProjectItem | GetProjectItem (string projectItemPath) |
| Gets a project item. More... | |
| bool | IsAbstract (Type projectItemType) |
Properties | |
| ProjectItem | ActiveComposition [get] |
| AnimationClipLibrary | AnimationClipLibrary [get] |
| AnimationLibrary | AnimationLibrary [get] |
| ApplicationConfigurationResourceFileDirectory | ApplicationDirectory [get] |
| Asset3DImportSourceDirectory | Asset3DImportSourceDirectory [get] |
| BinaryShaderFormatLibrary | BinaryShaderFormatLibrary [get] |
| BrushLibrary | BrushLibrary [get] |
| Gets the Brushes library which stores brushes used in a Kanzi Studio project. More... | |
| ComponentTypeLibrary | ComponentTypeLibrary [get] |
| ComposerLibrary | ComposerLibrary [get] |
| Gets the Composers library which stores composers and render passes used in a Kanzi Studio project. More... | |
| DataSourceLibrary | DataSourceLibrary [get] |
| DataSourceTypeLibrary | DataSourceTypeLibrary [get] |
| EnginePluginLibrary | EnginePluginLibrary [get] |
| FontDirectory | FontDirectory [get] |
| GenericResourceFileDirectory | GenericResourceFileDirectory [get] |
| ImageDirectory | ImageDirectory [get] |
| MaterialLibrary | MaterialLibrary [get] |
| MaterialTypeLibrary | MaterialTypeLibrary [get] |
| MeshLibrary | MeshLibrary [get] |
| NodeComponentTypeLibrary | NodeComponentTypeLibrary [get] |
| PageTransitionCollectionLibrary | PageTransitionCollectionLibrary [get] |
| PipelineItemLibrary | PipelineItemLibrary [get] |
| PrefabLibrary | PrefabLibrary [get] |
| Gets the Prefabs library which contains the prefabs used in a Kanzi Studio project. More... | |
| ProjectReferenceLibrary | ProjectReferenceLibrary [get] |
| PropertyTypeLibrary | PropertyTypeLibrary [get] |
| Gets the Property Types library which stores all property types you create in a Kanzi Studio project. More... | |
| RenderPassTypeLibrary | RenderPassTypeLibrary [get] |
| Screen | Screen [get] |
| Gets the Screen node in a Kanzi Studio project. More... | |
| ShaderSourceDirectory | ShaderSourceDirectory [get] |
| ShortcutLibrary | ShortcutLibrary [get] |
| StateManagerLibrary | StateManagerLibrary [get] |
| Gets the State Manager library which stores state managers used in a Kanzi Studio project. More... | |
| StyleLibrary | StyleLibrary [get] |
| Gets the Styles library which stores styles used in a Kanzi Studio project. More... | |
| TagLibrary | TagLibrary [get] |
| Gets the Tags library which stores tags used in a Kanzi Studio project. More... | |
| TextureLibrary | TextureLibrary [get] |
| Gets the Textures library which stores textures used in a Kanzi Studio project. More... | |
| TimelineSequenceLibrary | TimelineSequenceLibrary [get] |
| TrajectoryLibrary | TrajectoryLibrary [get] |
Events | |
| EventHandler | ActiveCompositionChanged |
Create and access nodes and resources. Use the functions in this class to create nodes and resources in a project and to access the resources in resource libraries in a project.
| NodeComponent CreateNodeComponent | ( | string | name, |
| NodeComponentHost | parent, | ||
| NodeComponentType | nodeComponentType | ||
| ) |
Creates a node component to the specified parent.
The available types can be found from project.NodeComponentTypeLibrary.
| ProjectItem CreateProjectItem | ( | Type | projectItemType, |
| string | name, | ||
| ProjectItem | parent | ||
| ) |
Creates a project item.
Use this function to create Kanzi nodes and resources.
| projectItemType | The type of the item. |
| name | The name of the item. |
| parent | The parent item of the item you create with this function. |
| T CreateProjectItem< T > | ( | string | name, |
| ProjectItem | parent | ||
| ) |
Creates a project item.
Use this function to create Kanzi nodes and resources.
| T | The type of the item you want to create with this function. |
| name | The name of the item. |
| parent | The parent item of the item you create with this function. |
Examples
To create a function which creates an Empty Node 2D:
| T | : | ProjectItem |
| ProjectItem GetProjectItem | ( | string | projectItemPath | ) |
Gets a project item.
For example, use this function to get a node in the scene graph and then add child nodes to it, or add, set, and modify the values of the node properties.
| projectItemPath | The path to the project item you want to get. |
Examples
To get a project item:
|
get |
Gets the Brushes library which stores brushes used in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Brushes library in a Kanzi Studio project.
Examples
To get a brush from the Brushes library:
|
get |
Gets the Composers library which stores composers and render passes used in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Composers library in a Kanzi Studio project.
Examples
To create a render pass in the Composers library:
|
get |
Gets the Prefabs library which contains the prefabs used in a Kanzi Studio project.
After you get the library, you can access and create prefabs.
The Prefabs library in a Kanzi Studio project.
Examples
To create a prefab in the Prefabs library and instantiate it:
Gets the Property Types library which stores all property types you create in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Property Types library in a Kanzi Studio project.
Examples
To create your own property type of the integer data type:
To get all property types in the Property Types library:
Gets the Screen node in a Kanzi Studio project.
The Screen node is the root node of the scene graph in Kanzi.
The Screen node.
Examples
To get the Screen node:
|
get |
Gets the State Manager library which stores state managers used in a Kanzi Studio project.
After you get the library, you can access and create state managers in that library.
The State Manager library in a Kanzi Studio project.
Examples
To create a state manager with a state group, state, and a state object in the State Managers library:
To get a state manager from the State Managers library:
|
get |
Gets the Styles library which stores styles used in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Styles library in a Kanzi Studio project.
Examples
To create a named style in the Styles library:
To create a typed style in the Styles library:
To get a style from the Styles library:
|
get |
Gets the Tags library which stores tags used in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Tags library in a Kanzi Studio project.
Examples
To get a tag from the Tags library:
To create a tag in the Tags library:
|
get |
Gets the Textures library which stores textures used in a Kanzi Studio project.
After you get the library, you can access and create resources in that library.
The Textures library in a Kanzi Studio project.
Examples
To get a texture from the Textures library: