User Guide
userData 1073
Example
This behavior toggles the formatting of hypertext on and off in text cast member “myText”:
--Lingo syntax
on mouseUp
member("myText").usehypertextStyles = \
not(member("myText").usehypertextStyles)
end
// JavaScript syntax
function mouseUp() {
member("myText").usehypertextStyles =
!(member("myText").usehypertextStyles)
}
useLineOffset
Usage
member(whichCastmember).model(whichModel).toon.useLineOffset
member(whichCastmember).model(whichModel).inker.useLineOffset
Description
3D toon and inker modifier property; indicates whether the modifier’s lineOffset property is
used by the modifier when it draws lines on the surface of the model.
The default value of this property is
FALSE.
Example
The following statement sets the useLineOffset property of the toon modifier for the model
named Teapot to
FALSE. The toon modifier’s lineOffset property will have no effect.
member("tp").model("Teapot").toon.useLineOffset = FALSE
See also
lineOffset
userData
Usage
member(whichCastmember).model(whichModel).userData
member(whichCastmember).light(whichLight).userData
member(whichCastmember).camera(whichCamera).userData
member(whichCastmember).group(whichCamera).userData
Description
3D property; returns the userData property list of a model, group, camera, or light. The default
value of this property for an object that was created outside of Director is a list of all the
properties that were assigned to the model’s
userData property in the 3D modeling tool. The
default value of this property for objects created inside of Director is an empty property list [:],
unless the object was created using any of the clone commands. If a cloning command was used
to create the object then the new object’s
userData property defaults to a value equal to that of
the original source object.