Navigation
API > API/Plugins > API/Plugins/MutableTools > API/Plugins/MutableTools/MuT
Inheritance Hierarchy
- Base
- RefCounted
- Node
- NodeSurface
- NodeSurfaceEdit
References
| Module | MutableTools |
| Header | /Engine/Plugins/Experimental/Mutable/Source/MutableTools/Public/MuT/NodeSurfaceEdit.h |
| Include | #include "MuT/NodeSurfaceEdit.h" |
Syntax
class NodeSurfaceEdit : public mu::NodeSurface
Remarks
This node modifies a node of the parent object of the object that this node belongs to. It allows to extend, cut and morph the parent Surface's meshes. It also allows to patch the parent Surface's textures.
Constructors
| Type | Name | Description | |
|---|---|---|---|
| Life cycle. |
Destructors
| Type | Name | Description | |
|---|---|---|---|
| Forbidden. Manage with the Ptr<> template. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddTag
(
const char* tagName |
Add a tag to the surface: | |
| NodeScalarPtr | GetFactor () |
Get the factor: weight used to select (and combine) the morphs to apply. | |
| NodeImagePtr | GetImage
(
int index |
Get the image node that extends a parent image, adding new blocks. | |
| int | Get the number of images to modify. Should match the parent image count. | ||
| NodePatchMesh * | GetMesh () |
Get the node to extend the parent mesh. | |
| NodeMeshPtr | GetMorph () |
Get the node to morph the parent mesh. | |
| NodeSurface * | GetParent () |
||
| NodePatchImagePtr | GetPatch
(
int index |
Get the image node that patches a parent image, blending on existing blocks. | |
| Private * | GetPrivate () |
||
| const NODE_TYPE * | |||
| const char * | GetTag
(
int |
Get a tag string from an index (0 to GetTagCount-1) | |
| int | GetTagCount () |
Get the number of tags added to the Surface. | |
| void | Serialise
(
const NodeSurfaceEdit* pNode, |
||
| void | Set the factor: weight used to select (and combine) the morphs to apply. | ||
| void | SetImage
(
int index, |
Set the image node that extends a parent image, adding new blocks. | |
| void | SetImageCount
(
int |
Set the number of images to modify. Should match the parent image count. | |
| void | SetMesh
(
NodePatchMesh* |
Mesh a node to extend the parent mesh. | |
| void | SetMorph
(
NodeMeshPtr |
Set a node to morph the parent mesh. | |
| void | SetParent
(
NodeSurface* |
Set the parent Surface to modify. | |
| void | SetPatch
(
int index, |
Set the image node that patches a parent image, blending on existing blocks. | |
| NodeSurfaceEditPtr | StaticUnserialise
(
InputArchive& arch |
Overridden from Node
| Type | Name | Description | |
|---|---|---|---|
| Node::Private * | |||
| int | Generic access to graph connections. | ||
| Node * | GetInputNode
(
int i |
||
| const NODE_TYPE * | GetType () |
Node type hierarchy data. | |
| void | SerialiseWrapper
(
OutputArchive& arch |
||
| void | SetInputNode
(
int i, |
Classes
| Type | Name | Description | |
|---|---|---|---|
| Private |