mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-14 04:03:46 +00:00
fill in the validated variables
This commit is contained in:
parent
fa760fa746
commit
f633ef3a3d
184 changed files with 1359 additions and 1216 deletions
|
|
@ -82,7 +82,7 @@ CustomMaterial::CustomMaterial()
|
|||
void CustomMaterial::initPersistFields()
|
||||
{
|
||||
docsURL;
|
||||
addField("version", TypeF32, Offset(mVersion, CustomMaterial),
|
||||
addFieldV("version", TypeRangedF32, Offset(mVersion, CustomMaterial), &CommonValidators::PositiveFloat,
|
||||
"@brief Specifies pixel shader version for hardware.\n\n"
|
||||
"Valid pixel shader versions include 2.0, 3.0, etc. "
|
||||
"@note All features aren't compatible with all pixel shader versions.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue