Type alias TransformType

TransformType: {
    parent?: Entity;
    position: {
        x: number;
        y: number;
        z: number;
    };
    rotation: {
        w: number;
        x: number;
        y: number;
        z: number;
    };
    scale: {
        x: number;
        y: number;
        z: number;
    };
}

Type declaration

  • Optional parent?: Entity
  • position: {
        x: number;
        y: number;
        z: number;
    }
    • x: number
    • y: number
    • z: number
  • rotation: {
        w: number;
        x: number;
        y: number;
        z: number;
    }
    • w: number
    • x: number
    • y: number
    • z: number
  • scale: {
        x: number;
        y: number;
        z: number;
    }
    • x: number
    • y: number
    • z: number