Torque 3D - Script Manual: $pref::TS Namespace Reference

TorqueScript

Main   Class List   Namespace List   Online

$pref::TS Namespace Reference

Variables

float detailAdjust
 User perference for scaling the TSShape level of detail. The smaller the value the closer the camera must get to see the highest LOD. This setting can have a huge impact on performance in mesh heavy scenes. The default value is 1.
int maxInstancingVerts
 Enables mesh instancing on non-skin meshes that have less that this count of verts. The default value is 200. Higher values can degrade performance.
int skipLoadDLs
 User perference which causes TSShapes to skip loading higher lods. This potentialy reduces the GPU resources and materials generated as well as limits the LODs rendered. The default value is 0.
int skipRenderDLs
 User perference which causes TSShapes to skip rendering higher lods. This will reduce the number of draw calls and triangles rendered and improve rendering performance when proper LODs have been created for your models. The default value is 0.
float smallestVisiblePixelSize
 User perference which sets the smallest pixel size at which TSShapes will skip rendering. This will force all shapes to stop rendering when they get smaller than this size. The default value is -1 which disables it.


Copyright © GarageGames, LLC. All Rights Reserved.