Winter Cardinal UI - v0.457.0 / DBaseBorderMeshGeometry
↳ DBaseBorderMeshGeometry
• new DBaseBorderMeshGeometry(): DBaseBorderMeshGeometry
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:15
• Protected _borderMask: number
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:13
• Protected _borderWidth: number
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:12
• Protected _cornerMask: number
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:22
• Protected _cornerRadius: number
DBaseMeshGeometry._cornerRadius
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:21
• Protected _height: number
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:20
• Protected _indexBuffer: Buffer
DBaseMeshGeometry._indexBuffer
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:29
• Protected _indices: Uint16Array
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:26
• Protected _isDirty: boolean
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:23
• Protected _resolution: number
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:30
• Protected _uvBuffer: Buffer
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:28
• Protected _uvs: Float32Array
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:25
• Protected _vertexBuffer: Buffer
DBaseMeshGeometry._vertexBuffer
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:27
• Protected _vertices: Float32Array
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:24
• Protected _width: number
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:19
• Protected glVertexArrayObjects: any
A map of renderer IDs to webgl VAOs
DBaseMeshGeometry.glVertexArrayObjects
node_modules/pixi.js/pixi.js.d.ts:14256
• instanceCount: number
Number of instances in this geometry, pass it to GeometrySystem.draw()
Member
PIXI.Geometry#instanceCount
Default
1
DBaseMeshGeometry.instanceCount
node_modules/pixi.js/pixi.js.d.ts:14262
• refCount: number
Count of existing (not destroyed) meshes that reference this geometry
Member
PIXI.Geometry#refCount
node_modules/pixi.js/pixi.js.d.ts:14267
▪ Static Protected N: number = 5
Note that this must be an odd number.
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:16
▪ Static Protected Optional TABLES: DBaseMeshGeometryTable[]
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:17
• get borderMask(): number
number
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:37
• set borderMask(borderMask): void
| Name | Type |
|---|---|
borderMask |
number |
void
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:41
• get borderWidth(): number
number
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:26
• set borderWidth(borderWidth): void
| Name | Type |
|---|---|
borderWidth |
number |
void
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:30
• get cornerMask(): number
number
DBaseMeshGeometry.cornerMask
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:87
• set cornerMask(cornerMask): void
| Name | Type |
|---|---|
cornerMask |
number |
void
DBaseMeshGeometry.cornerMask
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:91
• get cornerRadius(): number
number
DBaseMeshGeometry.cornerRadius
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:76
• set cornerRadius(borderSize): void
| Name | Type |
|---|---|
borderSize |
number |
void
DBaseMeshGeometry.cornerRadius
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:80
• get height(): number
number
DBaseMeshGeometry.height
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:65
• set height(height): void
| Name | Type |
|---|---|
height |
number |
void
DBaseMeshGeometry.height
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:69
• get width(): number
number
DBaseMeshGeometry.width
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:54
• set width(width): void
| Name | Type |
|---|---|
width |
number |
void
DBaseMeshGeometry.width
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:58
▸ addAttribute(id, buffer?, size?, normalized?, type?, stride?, start?, instance?): Geometry
Adds an attribute to the geometry
Note: stride and start should be undefined if you dont know them, not 0!
| Name | Type | Description |
|---|---|---|
id |
string |
the name of the attribute (matching up to a shader) |
buffer? |
number[] | Buffer |
the buffer that holds the data of the attribute . You can also provide an Array and a buffer will be created from it. |
size? |
number |
the size of the attribute. If you have 2 floats per vertex (eg position x and y) this would be 2 |
normalized? |
boolean |
should the data be normalized. |
type? |
number |
what type of number is the attribute. Check {PIXI.TYPES} to see the ones available |
stride? |
number |
How far apart (in floats) the start of each value is. (used for interleaving data) |
start? |
number |
How far into the array to start reading values (used for interleaving data) |
instance? |
boolean |
Instancing flag |
Geometry
returns self, useful for chaining.
DBaseMeshGeometry.addAttribute
node_modules/pixi.js/pixi.js.d.ts:14284
▸ addIndex(buffer?): Geometry
Adds an index buffer to the geometry The index buffer contains integers, three for each triangle in the geometry, which reference the various attribute buffers (position, colour, UV coordinates, other UV coordinates, normal, …). There is only ONE index buffer.
| Name | Type | Description |
|---|---|---|
buffer? |
number[] | Buffer |
the buffer that holds the data of the index buffer. You can also provide an Array and a buffer will be created from it. |
Geometry
returns self, useful for chaining.
node_modules/pixi.js/pixi.js.d.ts:14307
▸ clone(): Geometry
returns a clone of the geometry
Geometry
a new clone of this geometry
node_modules/pixi.js/pixi.js.d.ts:14334
▸ destroy(): void
Destroys the geometry.
void
node_modules/pixi.js/pixi.js.d.ts:14328
▸ dispose(): void
disposes WebGL resources that are connected to this geometry
void
node_modules/pixi.js/pixi.js.d.ts:14324
▸ fillIndices(indices, ia, ii, n, end, loop): void
| Name | Type |
|---|---|
indices |
Uint16Array |
ia |
number |
ii |
number |
n |
number |
end |
boolean |
loop |
boolean |
void
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:161
▸ fillVertices(vertices, uvs, iv, iuv, n, x, y, r, dr, borderWidth, table): void
| Name | Type |
|---|---|
vertices |
Float32Array |
uvs |
Float32Array |
iv |
number |
iuv |
number |
n |
number |
x |
number |
y |
number |
r |
number |
dr |
number |
borderWidth |
number |
table |
DBaseMeshGeometryTable |
void
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:48
▸ getAttribute(id): Attribute
returns the requested attribute
| Name | Type | Description |
|---|---|---|
id |
string |
the name of the attribute required |
Attribute
the attribute requested.
DBaseMeshGeometry.getAttribute
node_modules/pixi.js/pixi.js.d.ts:14291
▸ getBuffer(id): Buffer
returns the requested buffer
| Name | Type | Description |
|---|---|---|
id |
string |
the name of the buffer required |
Buffer
the buffer requested.
node_modules/pixi.js/pixi.js.d.ts:14298
▸ getIndex(): Buffer
returns the index buffer
Buffer
the index buffer.
node_modules/pixi.js/pixi.js.d.ts:14313
▸ getTables(): DBaseMeshGeometryTable[]
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:98
▸ interleave(): Geometry
this function modifies the structure so that all current attributes become interleaved into a single buffer This can be useful if your model remains static as it offers a little performance boost
Geometry
returns self, useful for chaining.
node_modules/pixi.js/pixi.js.d.ts:14320
▸ newTable(n, a0, da): DBaseMeshGeometryTable
| Name | Type |
|---|---|
n |
number |
a0 |
number |
da |
number |
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:118
▸ newTables(n): DBaseMeshGeometryTable[]
| Name | Type |
|---|---|
n |
number |
src/main/typescript/wcardinal/ui/d-base-mesh-geometry.ts:107
▸ update(renderer): void
| Name | Type |
|---|---|
renderer |
Renderer |
void
src/main/typescript/wcardinal/ui/d-base-border-mesh-geometry.ts:283
▸ merge(geometries): Geometry
merges an array of geometries into a new single one geometry attribute styles must match for this operation to work
| Name | Type | Description |
|---|---|---|
geometries |
Geometry[] |
array of geometries to merge |
Geometry
shiny new geometry!
node_modules/pixi.js/pixi.js.d.ts:3115