
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
@3dsource/types-unreal
Advanced tools
A comprehensive collection of TypeScript type definitions for Unreal Engine integration. This library provides type safety for communication between web applications and Unreal Engine.
The types-unreal library offers:
npm >9)This library requires the following peer dependency:
{
"@3dsource/unreal-commands-api-parser": ">=1.1.0"
}
Install the library and ensure the peer dependency is available in your project:
npm i @3dsource/types-unreal @3dsource/unreal-commands-api-parser
Import the types you need in your TypeScript files:
import type { UnrealCommands } from '@3dsource/types-unreal';
import type { MetaBoxCommandPacket } from '@3dsource/types-unreal';
import type { MetaBoxCommandList } from '@3dsource/types-unreal';
import type { FLoopBackCommand } from '@3dsource/types-unreal';
The library provides the following key type categories:
import type { UnrealCommands, MetaBoxCommandPacket } from '@3dsource/types-unreal';
// Type-safe command creation
const command: MetaBoxCommandPacket = {
command: 'SetVisibility',
parameters: {
actorName: 'MyActor',
visible: true,
},
};
// Send command to Unreal Engine
function sendToUnreal(packet: MetaBoxCommandPacket) {
// Implementation
}
sendToUnreal(command);
Types in this package are auto-generated from the Unreal Engine Commands API using the
@3dsource/unreal-commands-api-parser peer dependency. The following scripts are available (see package.json):
src/lib/struct.ts:npm run generate:commands:prod
src/lib/struct.qa.ts:npm run generate:commands:qa
src/lib/struct.dev.ts:npm run generate:commands:dev
Only src/lib/struct.ts is exported by the package public API (src/public-api.ts). The QA/Dev structures are
intended for development purposes and are not exported.
This library works seamlessly with the @3dsource/angular-unreal-module for Angular applications:
import { UnrealModule } from '@3dsource/angular-unreal-module';
import type { UnrealCommands } from '@3dsource/types-unreal';
// Your Angular module configuration
For detailed documentation of all available types, see the source code and comments in the type definition files.
node >=20, npm >9 (see engines in package.json).tslib is included as a dependency of this package.FAQs
A set of types for unreal module using in 3dsource projects
We found that @3dsource/types-unreal demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?

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.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.