mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44: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
|
|
@ -110,6 +110,7 @@ bool PhysicsDebrisData::preload( bool server, String &errorStr )
|
|||
|
||||
void PhysicsDebrisData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "Shapes" );
|
||||
|
||||
addProtectedField( "shapeFile", TypeShapeFilename, Offset( mShapeName, PhysicsDebrisData ), &_setShapeData, &defaultProtectedGetFn,
|
||||
|
|
@ -332,6 +333,7 @@ PhysicsDebris::~PhysicsDebris()
|
|||
|
||||
void PhysicsDebris::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Con::addVariable( "$pref::PhysicsDebris::lifetimeScale", TypeF32, &smLifetimeScale,
|
||||
"@brief Scales how long %PhysicsDebris will live before being removed.\n"
|
||||
"@note A value of 0 will disable PhysicsDebris entirely.");
|
||||
|
|
|
|||
|
|
@ -54,7 +54,8 @@ PhysicsForce::~PhysicsForce()
|
|||
}
|
||||
|
||||
void PhysicsForce::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,6 +87,7 @@ PhysicsShapeData::~PhysicsShapeData()
|
|||
|
||||
void PhysicsShapeData::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addGroup("Shapes");
|
||||
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, PhysicsShapeData, "@brief Shape asset to be used with this physics object.\n\n"
|
||||
|
|
@ -430,7 +431,8 @@ void PhysicsShape::consoleInit()
|
|||
}
|
||||
|
||||
void PhysicsShape::initPersistFields()
|
||||
{
|
||||
{
|
||||
docsURL;
|
||||
addGroup( "PhysicsShape" );
|
||||
|
||||
addField( "playAmbient", TypeBool, Offset( mPlayAmbient, PhysicsShape ),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue