mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-03 11:36:36 +00:00
Use the field descriptor struct to add fields instead of the overloads
Adds a visibility function to control whether a field is visible in the inspector
EG:
ADD_FIELD("soundFile", TypeAssetLooseFilePath, Offset(mSoundFile, SoundAsset))
.doc("Path to the sound file.")
.elements(SFXPlayList::SFXPlaylistSettings::NUM_SLOTS)
.onSet(&_setSoundFile);
the grammar can change to make these easier to work with, review changes carefully
|
||
|---|---|---|
| .. | ||
| 3d | ||
| buttons | ||
| containers | ||
| controls | ||
| core | ||
| editor | ||
| game | ||
| shaderEditor | ||
| shiny | ||
| theora | ||
| utility | ||
| worldEditor | ||