Socket
Book a DemoInstallSign in
Socket

angular-three-plugin

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-three-plugin

Nx plugin for Angular Three providing generators and utilities for 3D application development.

npmnpm
Version
4.0.3
Version published
Weekly downloads
1.2K
-1.49%
Maintainers
1
Weekly downloads
 
Created
Source

angular-three-plugin

Nx plugin for Angular Three providing generators and utilities for 3D application development.

Documentation

All public APIs are documented with JSDoc comments. Your IDE will provide inline documentation, parameter hints, and examples as you code.

Official Documentation

Please visit Angular Three Documentation

Installation

npm install -D angular-three-plugin
# yarn add -D angular-three-plugin
# pnpm add -D angular-three-plugin

Generators

init

Initializes Angular Three in your application. This generator:

  • Installs angular-three, three, @types/three, and ngxtension
  • Enables skipLibCheck in tsconfig for Three.js compatibility
  • Adds provideNgtRenderer() to your application providers
  • Optionally generates a starter SceneGraph component
nx g angular-three-plugin:init

Options:

OptionDescriptionDefault
sceneGraphHow to generate the SceneGraph component'generate-only'

SceneGraph options:

  • append - Append to parent component template
  • replace - Replace parent component template
  • generate-only - Generate component but don't modify template
  • none - Don't generate a SceneGraph component

aux

Adds auxiliary Angular Three packages to your project:

nx g angular-three-plugin:aux

Available packages:

  • angular-three-soba - Utilities and abstractions
  • angular-three-rapier - Rapier physics engine
  • angular-three-postprocessing - Post-processing effects
  • angular-three-cannon - Cannon.js physics engine
  • angular-three-tweakpane - Tweakpane UI controls
  • angular-three-theatre - Theatre.js animation toolkit

gltf

Generates an Angular component from a GLTF/GLB 3D model:

nx g angular-three-plugin:gltf --modelPath=src/assets/model.glb --output=src/app/model.ts

Options:

OptionDescriptionDefault
modelPathPath to GLTF/GLB modelRequired
outputOutput path for generated componentRequired
classNameComponent class name'Model'
selectorPrefixComponent selector prefix'app'
dracoUse DracoLoader for compressed modelsnull
shadowsEnable shadow casting/receivingfalse
transformTransform meshes via gltf-transformfalse
instanceInstance re-occurring geometryfalse
bonesLayout bones declarativelyfalse
consolePrint output to console instead of filefalse

FAQs

Package last updated on 06 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts