mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 11:43:49 +00:00
inspector cleanups
clustering work for datablocks for both consistent scanning for object parameters, as well as an eye towards orgainizing things to make reviewing what variations of components we'll be needing down the line clearer
This commit is contained in:
parent
23895e365a
commit
f07c8745b2
27 changed files with 692 additions and 700 deletions
|
|
@ -60,20 +60,20 @@ void ForestItemData::initPersistFields()
|
|||
{
|
||||
Parent::initPersistFields();
|
||||
|
||||
addGroup( "Media" );
|
||||
addGroup( "Shapes" );
|
||||
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, ForestItemData, "Shape asset for this item type");
|
||||
|
||||
addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, ForestItemData ), &_setShapeData, &defaultProtectedGetFn,
|
||||
"Shape file for this item type", AbstractClassRep::FIELD_HideInInspectors );
|
||||
endGroup( "Shape(s)" );
|
||||
|
||||
addGroup("Physics");
|
||||
addField( "collidable", TypeBool, Offset( mCollidable, ForestItemData ),
|
||||
"Can other objects or spacial queries hit items of this type." );
|
||||
|
||||
addField( "radius", TypeF32, Offset( mRadius, ForestItemData ),
|
||||
"Radius used during placement to ensure items are not crowded." );
|
||||
|
||||
endGroup( "Media" );
|
||||
endGroup("Physics");
|
||||
|
||||
addGroup( "Wind" );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue