Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pixi3d

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pixi3d - npm Package Compare versions

Comparing version 0.9.1 to 0.9.2

types/math/mat3.d.ts

8

package.json
{
"name": "pixi3d",
"version": "0.9.1",
"description": "The 3D rendering library which makes it simple to composite both 3D and 2D content on the web",
"version": "0.9.2",
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.",
"main": "dist/pixi3d.js",

@@ -15,3 +15,5 @@ "files": [

"serve": "webpack-dev-server --open --config examples/example.config.js",
"docs": "typedoc src/index.ts"
"docs": "typedoc src/index.ts",
"preversion": "npm run build",
"version": "npm run docs && git add . && git reset -- docs/CNAME"
},

@@ -18,0 +20,0 @@ "repository": {

# Pixi3D
Pixi3D is a JavaScript library which makes it easy to render 3D graphics on the web. It works for both desktop and mobile web browsers and includes several components which makes it easy to create nice looking 3D scenes out-of-the-box:
* Load models from file or create procedural generated meshes
* Load models from file (glTF) or create procedural generated meshes
* Physically-based rendering (PBR) and image-based lighting (IBL)
* Dynamic shadows
* Transformation, morphing and skeletal animations
* Customized materials and shaders
* Built on top of the widely used PixiJS library which makes it simple to combine 2D and 3D
* Built on top of PixiJS, seamless integration with 2D applications.

@@ -11,0 +10,0 @@ ## Getting started

@@ -14,3 +14,4 @@ import * as PIXI from "pixi.js";

private _viewProjection?;
private _target?;
private _orthographic;
private _orthographicSize;
/** Main camera which is used by default. */

@@ -25,2 +26,13 @@ static main: Camera;

/**
* The camera's half-size when in orthographic mode. The visible area from
* center of the screen to the top.
*/
get orthographicSize(): number;
set orthographicSize(value: number);
/**
* Camera will render objects uniformly, with no sense of perspective.
*/
get orthographic(): boolean;
set orthographic(value: boolean);
/**
* Converts screen coordinates to world coordinates.

@@ -27,0 +39,0 @@ * @param x Screen x coordinate.

import * as PIXI from "pixi.js";
import { MipmapResource } from "./mipmap-resource";
export declare class CubeMipmapResource extends PIXI.resources.CubeResource {
declare const CubeResource: typeof PIXI.resources.CubeResource;
export declare class CubeMipmapResource extends CubeResource {
levels: number;

@@ -8,1 +9,2 @@ constructor(source: MipmapResource[], levels?: number);

}
export {};
import * as PIXI from "pixi.js";
export declare class MipmapResource extends PIXI.resources.ArrayResource {
declare const ArrayResource: typeof PIXI.resources.ArrayResource;
export declare class MipmapResource extends ArrayResource {
target: number;

@@ -7,1 +8,2 @@ constructor(source: string[] | PIXI.Texture[], target: number);

}
export {};

@@ -30,3 +30,3 @@ import * as PIXI from "pixi.js";

static isEmbeddedResource(uri: string): boolean;
static getEmbeddedBuffer(value: string): ArrayBuffer | SharedArrayBuffer;
static getEmbeddedBuffer(value: string): ArrayBufferLike;
}

@@ -33,0 +33,0 @@ /**

@@ -15,3 +15,8 @@ export declare enum LightType {

*/
point = "point"
point = "point",
/**
* A light that is present all around the scene and doesn’t come from
* any specific source object.
*/
ambient = "ambient"
}
import * as PIXI from "pixi.js";
import { ShadowQuality } from "./shadow-quality";
export declare namespace ShadowTexture {
function create(renderer: PIXI.Renderer, size: number, quality: ShadowQuality): any;
function create(renderer: PIXI.Renderer, size: number, quality: ShadowQuality): PIXI.RenderTexture;
}

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc