Comparing version 1.0.0 to 1.1.0
@@ -7,2 +7,7 @@ # Changelog | ||
## [1.1.0] - 2021-11-20 | ||
### Added | ||
- Added support to use textures included in spritesheets when using `StandardMaterial`. | ||
- Added support for camera obliqueness. | ||
## [1.0.0] - 2021-11-01 | ||
@@ -9,0 +14,0 @@ ### Added |
{ | ||
"name": "pixi3d", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "The 3D renderer for PixiJS. Seamless integration with 2D applications.", | ||
@@ -40,3 +40,3 @@ "main": "dist/pixi3d.js", | ||
"tslib": "^2.3.0", | ||
"typedoc": "^0.22.6", | ||
"typedoc": "^0.22.9", | ||
"typescript": "^4.2.4", | ||
@@ -43,0 +43,0 @@ "url-loader": "^3.0.0", |
@@ -18,2 +18,10 @@ import * as PIXI from "pixi.js"; | ||
private _orthographicSize; | ||
private _obliqueness; | ||
/** | ||
* Used for making the frustum oblique, which means that one side is at a | ||
* smaller angle to the centre line than the opposite side. Only works with | ||
* perspective projection. | ||
*/ | ||
get obliqueness(): PIXI.IPointData; | ||
set obliqueness(value: PIXI.IPointData); | ||
/** Main camera which is used by default. */ | ||
@@ -20,0 +28,0 @@ static main: Camera; |
@@ -1,2 +0,2 @@ | ||
import { ObservablePoint } from "pixi.js"; | ||
import { ObservablePoint, Texture } from "pixi.js"; | ||
/** | ||
@@ -21,2 +21,8 @@ * Transform used to offset, rotate and scale texture coordinates. | ||
get array(): Float32Array; | ||
/** | ||
* Creates a transform from the specified texture frame. Can be used when | ||
* texture is in a spritesheet. | ||
* @param texture The texture to use. | ||
*/ | ||
static fromTexture(texture: Texture): TextureTransform; | ||
} |
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
1936203
17715