@megavr/ecsy-babylon
Version:
babylon.js ecsy binding and helpers
16 lines (15 loc) • 328 B
TypeScript
import { XYZProperties } from "./types/index";
/**
* @example
* ```
* entity.addComponent(Transform);
* ```
*/
export declare class Transform {
/** @default 0,0,0 */
position: XYZProperties;
/** @default 0,0,0 */
rotation: XYZProperties;
/** @default 1,1,1 */
scale: XYZProperties;
}