UNPKG

ecsy-baby

Version:

A community project for easy implementation of ecsy in babylon.js

13 lines (8 loc) 249 B
import { Quaternion, Vector3 } from 'babylonjs'; import { Component, ComponentSchema, Types } from 'ecsy'; export class EulerRotation extends Component<any> { value: Vector3 static schema: ComponentSchema = { value: { type: Types.Ref } } }