Merge branch 'method_Unmangle' into PBR_PR

This commit is contained in:
Azaezel 2018-12-12 14:54:22 -06:00
commit 1eed979a9c
632 changed files with 3935 additions and 3450 deletions

View file

@ -207,12 +207,12 @@ void PathManager::clearPaths()
#endif
}
DefineConsoleFunction( clearServerPaths, void, ( ), , "")
DefineEngineFunction( clearServerPaths, void, ( ), , "")
{
gServerPathManager->clearPaths();
}
DefineConsoleFunction( clearClientPaths, void, ( ), , "")
DefineEngineFunction( clearClientPaths, void, ( ), , "")
{
gClientPathManager->clearPaths();
}

View file

@ -720,7 +720,7 @@ RenderPassManager* SceneManager::getDefaultRenderPass() const
//-----------------------------------------------------------------------------
DefineConsoleFunction( sceneDumpZoneStates, void, ( bool updateFirst ), ( true ),
DefineEngineFunction( sceneDumpZoneStates, void, ( bool updateFirst ), ( true ),
"Dump the current zoning states of all zone spaces in the scene to the console.\n\n"
"@param updateFirst If true, zoning states are brought up to date first; if false, the zoning states "
"are dumped as is.\n\n"
@ -745,7 +745,7 @@ DefineConsoleFunction( sceneDumpZoneStates, void, ( bool updateFirst ), ( true )
//-----------------------------------------------------------------------------
DefineConsoleFunction( sceneGetZoneOwner, SceneObject*, ( U32 zoneId ),,
DefineEngineFunction( sceneGetZoneOwner, SceneObject*, ( U32 zoneId ),,
"Return the SceneObject that contains the given zone.\n\n"
"@param zoneId ID of zone.\n"
"@return A SceneObject or NULL if the given @a zoneId is invalid.\n\n"

View file

@ -1517,7 +1517,7 @@ DefineEngineMethod( SceneObject, isGlobalBounds, bool, (),,
return object->isGlobalBounds();
}
DefineConsoleMethod(SceneObject, setForwardVector, void, (VectorF newForward, VectorF upVector), (VectorF(0, 0, 0), VectorF(0, 0, 1)),
DefineEngineMethod(SceneObject, setForwardVector, void, (VectorF newForward, VectorF upVector), (VectorF(0, 0, 0), VectorF(0, 0, 1)),
"Sets the forward vector of a scene object, making it face Y+ along the new vector.\n"
"@param The new forward vector to set.\n"
"@param (Optional) The up vector to use to help orient the rotation.")