mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-28 00:29:34 +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
|
|
@ -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" );
|
||||
|
|
|
|||
|
|
@ -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 );
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -72,6 +72,7 @@ RenderShapeExample::~RenderShapeExample()
|
|||
//-----------------------------------------------------------------------------
|
||||
void RenderShapeExample::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
Parent::initPersistFields();
|
||||
addGroup( "Shapes" );
|
||||
INITPERSISTFIELD_SHAPEASSET(Shape, RenderShapeExample, "The path to the shape file.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue