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:
AzaezelX 2023-01-27 01:13:15 -06:00
parent a0bbe0ec18
commit f5a34308f9
382 changed files with 588 additions and 130 deletions

View file

@ -74,6 +74,7 @@ RenderMeshExample::~RenderMeshExample()
//-----------------------------------------------------------------------------
void RenderMeshExample::initPersistFields()
{
docsURL;
addGroup( "Rendering" );
INITPERSISTFIELD_MATERIALASSET(Material, RenderMeshExample, "The material used to render the mesh.");
endGroup( "Rendering" );

View file

@ -68,6 +68,7 @@ RenderObjectExample::~RenderObjectExample()
//-----------------------------------------------------------------------------
void RenderObjectExample::initPersistFields()
{
docsURL;
// SceneObject already handles exposing the transform
Parent::initPersistFields();
}
@ -277,4 +278,4 @@ void RenderObjectExample::render( ObjectRenderInst *ri, SceneRenderState *state,
// Draw our triangles
GFX->drawPrimitive( GFXTriangleList, 0, 12 );
}
}

View file

@ -72,6 +72,7 @@ RenderShapeExample::~RenderShapeExample()
//-----------------------------------------------------------------------------
void RenderShapeExample::initPersistFields()
{
docsURL;
Parent::initPersistFields();
addGroup( "Shapes" );
INITPERSISTFIELD_SHAPEASSET(Shape, RenderShapeExample, "The path to the shape file.")