mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 07:04:36 +00:00
add a docsURL; macro to link a given set of script config vars to git or similar storage urls via clicking on the inspector
This commit is contained in:
parent
a0bbe0ec18
commit
f5a34308f9
382 changed files with 588 additions and 130 deletions
|
|
@ -60,8 +60,9 @@ VController::~VController( void )
|
|||
// Void.
|
||||
}
|
||||
|
||||
void VController::initPersistFields( void )
|
||||
void VController::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Controller" );
|
||||
addProtectedField( "Time", TypeS32, Offset( mTime, VController ), &setTime, &defaultProtectedGetFn, "Current position of the Controller (in milliseconds)." );
|
||||
addProtectedField( "Duration", TypeS32, Offset( mDuration, VController ), &setDuration, &defaultProtectedGetFn, "Total length of the sequence (in milliseconds)." );
|
||||
|
|
|
|||
|
|
@ -152,7 +152,7 @@ public:
|
|||
VController();
|
||||
~VController();
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// ITickable.
|
||||
|
||||
|
|
|
|||
|
|
@ -40,8 +40,9 @@ VEvent::VEvent( void ) :
|
|||
setLabel( "DefaultEvent" );
|
||||
}
|
||||
|
||||
void VEvent::initPersistFields( void )
|
||||
void VEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addProtectedField( "TriggerTime", TypeS32, Offset( mTriggerTime, VEvent ), &setTriggerTime, &defaultProtectedGetFn, "The time that this event is triggered." );
|
||||
|
|
@ -403,4 +404,4 @@ void VEvent::setDuration( const S32 &pDuration )
|
|||
|
||||
// Apply Duration.
|
||||
mDuration = pDuration;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ public:
|
|||
|
||||
VEvent( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Controller Methods.
|
||||
|
||||
|
|
|
|||
|
|
@ -42,8 +42,9 @@ VObject::~VObject( void )
|
|||
remove();
|
||||
}
|
||||
|
||||
void VObject::initPersistFields( void )
|
||||
void VObject::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
// Don't Use Parent Fields.
|
||||
// Parent::initPersistFields();
|
||||
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ public:
|
|||
VObject( void );
|
||||
virtual ~VObject( void );
|
||||
|
||||
static void initPersistFields( void );
|
||||
static void initPersistFields();
|
||||
|
||||
// Reference Methods.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue