User Guide

Chapter 390
bias
Syntax
member(whichCastmember).model(whichModel).lod.bias
Description
3D lod modifier property; indicates how aggressively the modifier removes detail from the model
when its auto property is set to TRUE. This property has no effect when the modifier’s auto
property is set to
FALSE.
The range for this property is from 0.0 (removes all polygons) to +100.0 (removes no polygons).
The default setting is 100.0.
The
#lod modifier can only be added to models created outside of Director in 3D modeling
programs. The value of the
type property of the model resources used by these models is
#fromFile. The modifier cannot be added to primitives created within Director.
Example
This statement sets the bias property of the lod modifier of the model named Spaceship to 10. If
the
lod modifier’s auto property is set to TRUE, the modifier will very aggressively lower the level
of detail of Spaceship as it moves away from the camera.
member("3D World").model("Spaceship").lod.bias = 10
See also
lod (modifier), auto, level
bitAnd()
Syntax
bitAnd(integer1, integer2)
Description
Function; converts the two specified integers to 32-bit binary numbers and returns a binary
number whose digits are 1’s in the positions where both numbers had a 1, and 0’s in every other
position. The result is the new binary number, which Lingo displays as a base 10 integer.
Example
This statement compares the binary versions of the integers 6 and 7 and returns the result as an
integer:
put bitAnd(6, 7)
-- 6
See also
bitNot(), bitOr(), bitXor()
Integer Binary number (abbreviated)
6 00110
7 00111
Result
6 00110