You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-19 23:16:20 +00:00
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
export interface ICustomVars
|
||||
{
|
||||
variables?: string[];
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import { ICustomVars } from './IAssetLogicCustomVars';
|
||||
import { IAssetLogicPlanetSystem } from './IAssetLogicPlanetSystem';
|
||||
import { ISoundSample } from './ISoundSample';
|
||||
import { IAssetLogicModel } from './model/IAssetLogicModel';
|
||||
import { IParticleSystem } from './particlesystem';
|
||||
|
||||
export interface IAssetLogicData
|
||||
{
|
||||
model?: IAssetLogicModel;
|
||||
maskType?: string;
|
||||
credits?: string;
|
||||
soundSample?: ISoundSample;
|
||||
action?: { link?: string, startState?: number };
|
||||
planetSystems?: IAssetLogicPlanetSystem[];
|
||||
particleSystems?: IParticleSystem[];
|
||||
customVars?: ICustomVars;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
export interface IAssetLogicPlanetSystem
|
||||
{
|
||||
id?: number;
|
||||
name?: string;
|
||||
parent?: string;
|
||||
radius?: number;
|
||||
arcSpeed?: number;
|
||||
arcOffset?: number;
|
||||
blend?: number;
|
||||
height?: number;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
export interface ISoundSample
|
||||
{
|
||||
id?: number;
|
||||
noPitch?: boolean;
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
export * from './IAssetLogicCustomVars';
|
||||
export * from './IAssetLogicData';
|
||||
export * from './IAssetLogicPlanetSystem';
|
||||
export * from './ISoundSample';
|
||||
export * from './model';
|
||||
export * from './particlesystem';
|
||||
@@ -0,0 +1,6 @@
|
||||
export interface IAssetDimension
|
||||
{
|
||||
x: number;
|
||||
y: number;
|
||||
z?: number;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
import { IAssetDimension } from './IAssetDimension';
|
||||
|
||||
export interface IAssetLogicModel
|
||||
{
|
||||
dimensions?: IAssetDimension;
|
||||
directions?: number[];
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './IAssetDimension';
|
||||
export * from './IAssetLogicModel';
|
||||
@@ -0,0 +1,11 @@
|
||||
import { IParticleSystemEmitter } from './IParticleSystemEmitter';
|
||||
|
||||
export interface IParticleSystem
|
||||
{
|
||||
size?: number;
|
||||
canvasId?: number;
|
||||
offsetY?: number;
|
||||
blend?: number;
|
||||
bgColor?: string;
|
||||
emitters?: IParticleSystemEmitter[];
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import { IParticleSystemParticle } from './IParticleSystemParticle';
|
||||
import { IParticleSystemSimulation } from './IParticleSystemSimulation';
|
||||
|
||||
export interface IParticleSystemEmitter
|
||||
{
|
||||
id?: number;
|
||||
name?: string;
|
||||
spriteId?: number;
|
||||
maxNumParticles?: number;
|
||||
particlesPerFrame?: number;
|
||||
burstPulse?: number;
|
||||
fuseTime?: number;
|
||||
simulation?: IParticleSystemSimulation;
|
||||
particles?: IParticleSystemParticle[];
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
export interface IParticleSystemParticle
|
||||
{
|
||||
isEmitter?: boolean;
|
||||
lifeTime?: number;
|
||||
fade?: boolean;
|
||||
frames?: string[];
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
export interface IParticleSystemSimulation
|
||||
{
|
||||
force?: number;
|
||||
direction?: number;
|
||||
gravity?: number;
|
||||
airFriction?: number;
|
||||
shape?: string;
|
||||
energy?: number;
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
export * from './IParticleSystem';
|
||||
export * from './IParticleSystemEmitter';
|
||||
export * from './IParticleSystemParticle';
|
||||
export * from './IParticleSystemSimulation';
|
||||
Reference in New Issue
Block a user