mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 16:44:36 +00:00
Script integration for Ribbons
This commit is contained in:
parent
a8a141e73c
commit
35f88a77b1
21 changed files with 458 additions and 0 deletions
|
|
@ -862,6 +862,14 @@ function ObjectBuilderGui::buildParticleEmitterNode(%this)
|
|||
%this.process();
|
||||
}
|
||||
|
||||
function ObjectBuilderGui::buildRibbonNode(%this)
|
||||
{
|
||||
%this.objectClassName = "RibbonNode";
|
||||
%this.addField("dataBlock", "TypeDataBlock", "datablock", "RibbonNodeData");
|
||||
%this.addField("ribbon", "TypeDataBlock", "Ribbon data", "RibbonData");
|
||||
%this.process();
|
||||
}
|
||||
|
||||
function ObjectBuilderGui::buildParticleSimulation(%this)
|
||||
{
|
||||
%this.objectClassName = "ParticleSimulation";
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ function EWCreatorWindow::init( %this )
|
|||
%this.registerMissionObject( "SFXEmitter", "Sound Emitter" );
|
||||
%this.registerMissionObject( "Precipitation" );
|
||||
%this.registerMissionObject( "ParticleEmitterNode", "Particle Emitter" );
|
||||
%this.registerMissionObject( "RibbonNode", "Ribbon" );
|
||||
|
||||
// Legacy features. Users should use Ground Cover and the Forest Editor.
|
||||
//%this.registerMissionObject( "fxShapeReplicator", "Shape Replicator" );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue