Constructors
constructor
new Structure( options: { target?: | { db: LevelDB; key: Buffer; type: "LevelDBEntry" } | { path: string; type: "File" }; },): Structure Parameters
- options: {
target?:
| { db: LevelDB; key: Buffer; type: "LevelDBEntry" }
| { path: string; type: "File" };
}
Properties
Optionaltarget
target?: | { db: LevelDB; key: Buffer; type: "LevelDBEntry" } | { path: string; type: "File" } Type declaration
- { db: LevelDB; key: Buffer; type: "LevelDBEntry" }
key: Buffer
type: "LevelDBEntry"
- { path: string; type: "File" }
Methods
mirror
mirror(axis: "x" | "y" | "z"): any
rotate
rotate(angle: 0 | 90 | 180 | 270, axis?: "x" | "y" | "z"): any Parameters
- angle: 0 | 90 | 180 | 270
- axis: "x" | "y" | "z" = "y"
Returns any
scale
scale(scale: number | Vector3): any
Todo