The set_mesh action, which changes the material of a mesh.
More...
#include <setmeshaction.h>
|
| static TriggerAction * | New (DataArray *pAction) |
| | Build the action a node describes.
|
| template<class T> |
| static T * | FindObject (DataArray *pAction, const char *pszName) |
| | Find a renderer object of a class by name, warning when there is none.
|
The set_mesh action, which changes the material of a mesh.
The RTTI records the class as deriving from TriggerAction. The object is 0x18 bytes. Node 1 names the mesh, and the optional mat the material.
◆ ~SetMeshAction()
| SetMeshAction::~SetMeshAction |
( |
| ) |
|
|
overridedefault |
Destroy the object.
- Ghidra address:
- NTSC-U/C: 0x00374b70
- Ghidra address:
- PAL: 0x003e32a0
◆ SetMeshAction()
| SetMeshAction::SetMeshAction |
( |
DataArray * | pAction | ) |
|
|
explicit |
Read the action.
- Parameters
-
- Ghidra address:
- NTSC-U/C: 0x00200a90
- Ghidra address:
- PAL: 0x00209830
◆ Exec()
| void SetMeshAction::Exec |
( |
| ) |
|
|
overridevirtual |
Give the mesh the material, when the node named one.
- Ghidra address:
- NTSC-U/C: 0x002026a8
- Ghidra address:
- PAL: 0x0020b448
Implements TriggerAction.
The documentation for this class was generated from the following file: