AcediaDocumentation

getpcd

Splits a mesh part's PhysicalConfigData into its hash prefix and payload.

The hash prefix is the first 16 raw bytes; the second result is the remaining binary data. These are not hexadecimal strings.

getpcd(target: TriangleMeshPart): (string, string)

Parameters

ParameterTypeDescription
targetTriangleMeshPartMesh-shaped part containing PhysicalConfigData.

Errors: Fails if the property is missing, unreadable or shorter than 16 bytes.

Aliases: getpcdprop.

On this page