Last updated 2 months ago
Retrieves the settings of a object.
getText3d( objectName: string ): Promise<Text3DNodeSettings>
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, }