mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-09 07:20:40 +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
|
|
@ -39,8 +39,9 @@ VCameraShakeEvent::VCameraShakeEvent( void ) :
|
|||
setLabel( "CameraShakeEvent" );
|
||||
}
|
||||
|
||||
void VCameraShakeEvent::initPersistFields( void )
|
||||
void VCameraShakeEvent::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
|
||||
addField( "Amplitude", TypePoint3F, Offset( mAmplitude, VCameraShakeEvent ), "Amplitude of the Camera Shake event." );
|
||||
|
|
@ -80,4 +81,4 @@ void VCameraShakeEvent::onTrigger( const S32 &pTime, const S32 &pDelta )
|
|||
|
||||
// Shake Camera.
|
||||
VTorque::startCameraShake( duration, mFalloff, mAmplitude, mFrequency );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue