Orrery Terrain · OrreryTerrainCore module · function
Native::
EncodeSculptCommand
ExperimentalWrite one command as kSculptCommandBytes little-endian bytes.
Declaration
size_t EncodeSculptCommand(const FSculptCommand& Command, uint8_t* Out, size_t Capacity);- Header
#include "Native/SculptCommand.h"- Module
PublicDependencyModuleNames.Add("OrreryTerrainCore");in your module’s Build.cs.- Stability
- Experimental: supported, may change in a minor version, with a changelog line.
- Thread
- Pure, any thread.
Parameters
| Name | Type | Default | Meaning |
|---|---|---|---|
Command | const FSculpt | — | The command to write. |
Out | uint8_ | — | Destination; at least kSculptCommandBytes. |
Capacity | size_ | — | Bytes Out can take. |
Returns
Bytes written: kSculptCommandBytes, or 0 when Capacity is too small.
Note.
Pure, any thread.