Comparing version 1.2.1 to 1.3.0
@@ -7,2 +7,9 @@ # Changelog | ||
## [1.3.0] - 2022-03-09 | ||
### Added | ||
- Added a function to set resolution for `PostProcessingSprite`. | ||
### Fixed | ||
- Fixed an issue which caused `StandardMaterial` to set incorrect transforms on some textures. | ||
## [1.2.1] - 2022-02-11 | ||
@@ -9,0 +16,0 @@ ### Fixed |
{ | ||
"name": "pixi3d", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.", | ||
@@ -5,0 +5,0 @@ "main": "dist/pixi3d.js", |
@@ -10,2 +10,6 @@ # Pixi3D | ||
![alt text](https://github.com/jnsmalm/pixi3d/blob/develop/spy-hypersport.jpg) | ||
*"SPY-HYPERSPORT" (https://skfb.ly/o8z7t) by Amvall is licensed under Creative Commons Attribution (http://creativecommons.org/licenses/by/4.0/). Rendered using Pixi3D.* | ||
## Getting started | ||
@@ -49,3 +53,3 @@ Let's create a simple application which renders a rotating cube. Start by [getting the latest version of Pixi3D](https://github.com/jnsmalm/pixi3d/releases). Also [get an up-to-date version of PixiJS](https://github.com/pixijs/pixi.js/releases) (v5.3+) which is needed to use Pixi3D. | ||
## Examples | ||
Examples are available as sandboxes at https://codesandbox.io to quickly get started. | ||
Examples are available as sandboxes at https://codesandbox.io to quickly get started. Download repo at https://github.com/jnsmalm/pixi3d-sandbox to instead run them locally. | ||
@@ -52,0 +56,0 @@ | Example | Description | Sandbox | |
@@ -40,2 +40,7 @@ import { DisplayObject, Sprite, RenderTexture, Renderer, IDestroyOptions } from "pixi.js"; | ||
constructor(renderer: Renderer, options?: PostProcessingSpriteOptions); | ||
/** | ||
* Sets the resolution of the render texture. | ||
* @param resolution The resolution to set. | ||
*/ | ||
setResolution(resolution: number): void; | ||
destroy(options?: boolean | IDestroyOptions): void; | ||
@@ -42,0 +47,0 @@ /** |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1962680
17947
211