toJSON Method
Obtain the JSON representation of this Entity. Subclasses of Entity typically override this method to return their corresponding sub-type of EntityProps - for example, GeometricElement.toJSON returns a GeometricElementProps.
toJSON(): GeometricModel3dProps
Returns - GeometricModel3dProps
Defined in
- core/backend/src/Model.ts Line 279
Last Updated: 23 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.