Generated JSDoc.
This commit is contained in:
@@ -1472,8 +1472,8 @@
|
||||
* Class that represents a PixiJS Flippable.
|
||||
*
|
||||
* @example
|
||||
* const front = PIXI.Sprite.fromImage('./assets/front.jpg')
|
||||
* const back = PIXI.Sprite.fromImage('./assets/back.jpg')
|
||||
* const front = PIXI.Sprite.from('./assets/front.jpg')
|
||||
* const back = PIXI.Sprite.from('./assets/back.jpg')
|
||||
* app.scene.addChild(front)
|
||||
*
|
||||
* // Create the flippable
|
||||
@@ -1494,7 +1494,7 @@ export default class Flippable extends PIXI.projection.Camera3d {
|
||||
* @constructor
|
||||
* @param {PIXI.DisplayObject} front - The object to show initially. Should have been added to the scene.
|
||||
* @param {PIXI.DisplayObject} back - The object to show on the backside. Should have not been added to the scene.
|
||||
* @param {PIXI.WebGLRenderer|PIXI.CanvasRenderer} renderer - The renderer of the application.
|
||||
* @param {PIXI.Renderer|PIXI.CanvasRenderer} renderer - The renderer of the application.
|
||||
* @param {object} [opts] - An options object which can contain the following properties.
|
||||
* @param {number} [opts.duration=1] - The duration of the flip animation in seconds.
|
||||
* @param {GSAP.Ease} [opts.ease=Power2.easeOut] - The ease of the flip animation.
|
||||
@@ -1578,7 +1578,7 @@ export default class Flippable extends PIXI.projection.Camera3d {
|
||||
|
||||
// shadow
|
||||
//--------------------
|
||||
const shadow = new PIXI.projection.Sprite3d(PIXI.Texture.fromImage('../../assets/images/shadow.png'))
|
||||
const shadow = new PIXI.projection.Sprite3d(PIXI.Texture.from('../../assets/images/shadow.png'))
|
||||
shadow.renderable = false
|
||||
shadow.anchor.set(0.5)
|
||||
shadow.scale3d.set(0.98)
|
||||
@@ -1906,7 +1906,7 @@ export default class Flippable extends PIXI.projection.Camera3d {
|
||||
|
||||
<footer class="content-size">
|
||||
<div class="footer">
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Tue Aug 13 2019 12:46:00 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.3</a> on Wed Sep 11 2019 09:31:36 GMT+0200 (Mitteleuropäische Sommerzeit)
|
||||
</div>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user