rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
122 lines (55 loc) • 1.5 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [rc-js-util](./rc-js-util.md) > [IVec2Ctor](./rc-js-util.ivec2ctor.md)
## IVec2Ctor interface
Constructor for [Vec2](./rc-js-util.vec2.md)<!-- -->.
**Signature:**
```typescript
export interface IVec2Ctor<TArray extends TTypedArray>
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[BYTES\_PER\_ELEMENT](./rc-js-util.ivec2ctor.bytes_per_element.md)
</td><td>
`readonly`
</td><td>
number
</td><td>
The size in bytes of each element in the array.
</td></tr>
<tr><td>
[factory](./rc-js-util.ivec2ctor.factory.md)
</td><td>
`readonly`
</td><td>
[ITypedArrayTupleFactory](./rc-js-util.itypedarraytuplefactory.md)<!-- --><[Vec2](./rc-js-util.vec2.md)<!-- --><TArray>, [TVec2CtorArgs](./rc-js-util.tvec2ctorargs.md)<!-- -->>
</td><td>
</td></tr>
<tr><td>
[prototype](./rc-js-util.ivec2ctor.prototype.md)
</td><td>
`readonly`
</td><td>
[Vec2](./rc-js-util.vec2.md)<!-- --><TArray>
</td><td>
</td></tr>
</tbody></table>
## Methods
<table><thead><tr><th>
Method
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[(new)()](./rc-js-util.ivec2ctor._new_.md)
</td><td>
</td></tr>
</tbody></table>