mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-06-03 03:26:39 +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
|
||
|---|---|---|
| .. | ||
| bin | ||
| lib | ||
| modules/Verve | ||
| source | ||
| CMakeLists.txt | ||