This repository has been archived by the owner on Feb 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
468 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# @angular-three/core/attributes | ||
|
||
Secondary entry point of `@angular-three/core`. It can be used by importing from `@angular-three/core/attributes`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"lib": { | ||
"entryFile": "src/index.ts" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
//GENERATED | ||
export * from './lib/buffer-attribute/buffer-attribute.directive'; | ||
export * from './lib/instanced-buffer-attribute/instanced-buffer-attribute.directive'; | ||
export * from './lib/interleaved-buffer-attribute/interleaved-buffer-attribute.directive'; | ||
export * from './lib/float16-buffer-attribute/float16-buffer-attribute.directive'; | ||
export * from './lib/float32-buffer-attribute/float32-buffer-attribute.directive'; | ||
export * from './lib/float64-buffer-attribute/float64-buffer-attribute.directive'; | ||
export * from './lib/int8-buffer-attribute/int8-buffer-attribute.directive'; | ||
export * from './lib/int16-buffer-attribute/int16-buffer-attribute.directive'; | ||
export * from './lib/int32-buffer-attribute/int32-buffer-attribute.directive'; | ||
export * from './lib/uint8-buffer-attribute/uint8-buffer-attribute.directive'; | ||
export * from './lib/uint16-buffer-attribute/uint16-buffer-attribute.directive'; | ||
export * from './lib/uint32-buffer-attribute/uint32-buffer-attribute.directive'; | ||
export * from './lib/uint8-clamped-buffer-attribute/uint8-clamped-buffer-attribute.directive'; |
32 changes: 32 additions & 0 deletions
32
packages/core/attributes/src/lib/buffer-attribute/buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-buffer-attribute', | ||
exportAs: 'ngtBufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtBufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtBufferAttribute extends NgtAttribute<THREE.BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args(v: ConstructorParameters<typeof THREE.BufferAttribute>) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtBufferAttribute], | ||
exports: [NgtBufferAttribute], | ||
}) | ||
export class NgtBufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...es/core/attributes/src/lib/float16-buffer-attribute/float16-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-float16-buffer-attribute', | ||
exportAs: 'ngtFloat16BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtFloat16BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtFloat16BufferAttribute extends NgtAttribute<THREE.Float16BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Float16BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Float16BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Float16BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtFloat16BufferAttribute], | ||
exports: [NgtFloat16BufferAttribute], | ||
}) | ||
export class NgtFloat16BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...es/core/attributes/src/lib/float32-buffer-attribute/float32-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-float32-buffer-attribute', | ||
exportAs: 'ngtFloat32BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtFloat32BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtFloat32BufferAttribute extends NgtAttribute<THREE.Float32BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Float32BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Float32BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Float32BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtFloat32BufferAttribute], | ||
exports: [NgtFloat32BufferAttribute], | ||
}) | ||
export class NgtFloat32BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...es/core/attributes/src/lib/float64-buffer-attribute/float64-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-float64-buffer-attribute', | ||
exportAs: 'ngtFloat64BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtFloat64BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtFloat64BufferAttribute extends NgtAttribute<THREE.Float64BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Float64BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Float64BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Float64BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtFloat64BufferAttribute], | ||
exports: [NgtFloat64BufferAttribute], | ||
}) | ||
export class NgtFloat64BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...ore/attributes/src/lib/instanced-buffer-attribute/instanced-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-instanced-buffer-attribute', | ||
exportAs: 'ngtInstancedBufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtInstancedBufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtInstancedBufferAttribute extends NgtAttribute<THREE.InstancedBufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.InstancedBufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.InstancedBufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.InstancedBufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtInstancedBufferAttribute], | ||
exports: [NgtInstancedBufferAttribute], | ||
}) | ||
export class NgtInstancedBufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
packages/core/attributes/src/lib/int16-buffer-attribute/int16-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-int16-buffer-attribute', | ||
exportAs: 'ngtInt16BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtInt16BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtInt16BufferAttribute extends NgtAttribute<THREE.Int16BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Int16BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Int16BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Int16BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtInt16BufferAttribute], | ||
exports: [NgtInt16BufferAttribute], | ||
}) | ||
export class NgtInt16BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
packages/core/attributes/src/lib/int32-buffer-attribute/int32-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-int32-buffer-attribute', | ||
exportAs: 'ngtInt32BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtInt32BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtInt32BufferAttribute extends NgtAttribute<THREE.Int32BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Int32BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Int32BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Int32BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtInt32BufferAttribute], | ||
exports: [NgtInt32BufferAttribute], | ||
}) | ||
export class NgtInt32BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
packages/core/attributes/src/lib/int8-buffer-attribute/int8-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-int8-buffer-attribute', | ||
exportAs: 'ngtInt8BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtInt8BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtInt8BufferAttribute extends NgtAttribute<THREE.Int8BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Int8BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Int8BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Int8BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtInt8BufferAttribute], | ||
exports: [NgtInt8BufferAttribute], | ||
}) | ||
export class NgtInt8BufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...attributes/src/lib/interleaved-buffer-attribute/interleaved-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-interleaved-buffer-attribute', | ||
exportAs: 'ngtInterleavedBufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtInterleavedBufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtInterleavedBufferAttribute extends NgtAttribute<THREE.InterleavedBufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.InterleavedBufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.InterleavedBufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.InterleavedBufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtInterleavedBufferAttribute], | ||
exports: [NgtInterleavedBufferAttribute], | ||
}) | ||
export class NgtInterleavedBufferAttributeModule {} |
34 changes: 34 additions & 0 deletions
34
...ages/core/attributes/src/lib/uint16-buffer-attribute/uint16-buffer-attribute.directive.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// GENERATED | ||
import { NgtAttribute } from '@angular-three/core'; | ||
import { NgModule, Directive, Input } from '@angular/core'; | ||
import * as THREE from 'three'; | ||
|
||
@Directive({ | ||
selector: 'ngt-uint16-buffer-attribute', | ||
exportAs: 'ngtUint16BufferAttribute', | ||
providers: [ | ||
{ | ||
provide: NgtAttribute, | ||
useExisting: NgtUint16BufferAttribute, | ||
}, | ||
], | ||
}) | ||
export class NgtUint16BufferAttribute extends NgtAttribute<THREE.Uint16BufferAttribute> { | ||
static ngAcceptInputType_args: | ||
| ConstructorParameters<typeof THREE.Uint16BufferAttribute> | ||
| undefined; | ||
|
||
@Input() set args( | ||
v: ConstructorParameters<typeof THREE.Uint16BufferAttribute> | ||
) { | ||
this.attributeArgs = v; | ||
} | ||
|
||
attributeType = THREE.Uint16BufferAttribute; | ||
} | ||
|
||
@NgModule({ | ||
declarations: [NgtUint16BufferAttribute], | ||
exports: [NgtUint16BufferAttribute], | ||
}) | ||
export class NgtUint16BufferAttributeModule {} |
Oops, something went wrong.