3D Text With Grid

3D Text With Grid script details
Author
matas
Type
Typescript logo image
typescript
App Version
0.14.6
Visibility
public
Date Created
Jan 22, 2024, 8:05:11 PM
Last Edit Date
Feb 27, 2024, 2:09:30 PM

Script Details

The Code
const start = async () => { const gridOptions = new Bit.Inputs.Draw.SceneDrawGridMeshDto(); bitbybit.draw.drawGridMesh(gridOptions); const textOpt = new Bit.Advanced.Text3D.Text3DDto(); textOpt.text = "Hello World!"; textOpt.rotation = -90; textOpt.originAlignment = Bit.Advanced.Text3D.recAlignmentEnum.centerBottom; textOpt.direction = [0, 0, -1]; const text3D = await bitbybit.advanced.text3d.create(textOpt); bitbybit.draw.drawAnyAsync({ entity: text3D }); } start();