getText3d
Retrieves the settings of a 3DText object.
getText3d(
objectName: string
): Promise<Text3DNodeSettings>
Parameters
Description
Type
objectName
Specifies what 3d text object do we want to retrieve its settings from.
string
Usage:
await modelApi.getText3d('3D Text');
Return value:
{
"text": "Example",
"fontFamily": "Open Sans",
"fontSize": 50,
"weight": "regular",
"distanceX": 0,
"distanceY": 0,
"textAlign": "CENTER",
"textHeight": "DEFAULT",
"curveSegments": 5,
"contourOffset": 0
"amount": 15,
}
Last updated