LogoPixi’VN
pixi-jsInterfaces

Interface: View

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:12

A view is something that is able to be rendered by the renderer.

Advanced

Properties

_roundPixels

> _roundPixels: 0 | 1

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:23

this is an int because it is packed directly into an attribute in the shader


batched

> batched: boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:16

whether or not this view should be batched


bounds

> bounds: BoundsData

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:34

this is the AABB rectangle bounds of the view in local untransformed space.


containsPoint

> containsPoint: (point) => boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:36

Checks if the point is within the view

Parameters

point

Point

Returns

boolean


renderPipeId

> readonly renderPipeId: string

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:21

an identifier that is used to identify the type of system that will be used to render this renderable eg, 'sprite' will use the sprite system (based on the systems name


uid

> readonly uid: number

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:14

a unique id for this view

Accessors

roundPixels

Get Signature

> get roundPixels(): boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:30

Whether or not to round the x/y position of the object.

Returns

boolean

Set Signature

> set roundPixels(value): void

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/view/View.d.ts:32

if true, the view will have its position rounded to the nearest whole number

Parameters
value

boolean

Returns

void