The following methods set the Subdivision Displacement Surface Properties for a mesh object. These methods are not applicable to TriMeshes.
Methods:
setSplitMesh <mesh> <boolean>
Turns on or off split mesh subdivision displacement for the mesh. Calling this function will enable subdivisionDisplacement if it is set to false .
getSplitMesh <mesh>
Returns true if split mesh subdivision displacement is turned on for the mesh, false otherwise.
setSubdivisionDisplacement <mesh> <boolean>
Turns on or off subdivision displacement for the mesh.
getSubdivisionDisplacement <mesh>
Returns true if subdivision displacement is turned on for the mesh, false if off.
displacementToPreset <mesh> (#low | #medium | #high)
Sets the mesh subdivision parameters to the specified preset value set.
setDisplacementMapping <mesh> <boolean>
Turns on or off whether to perform displacement mapping for the mesh. There is no corresponding user interface element for this method.
getDisplacementMapping <mesh>
Returns true if displacement mapping is turned on for the mesh, false if off.