Skip to content

API reference / Common / Engine types / ShapeModel3dProjection

Type Alias: ShapeModel3dProjection ​

ts
type ShapeModel3dProjection = 
  | {
  orthographic: {
     size: number;
  };
}
  | {
  perspective: {
     fieldOfView: number;
  };
};

How a camera projects the scene (am3d:orthographic / am3d:perspective).