3D Lingo Dictionary > L-N > name |  |

name

Syntax

    member(whichCastmember).texture(whichTexture).name
    member(whichCastmember).shader(whichShader).name
    member(whichCastmember).motion(whichMotion).name
    member(whichCastmember).modelResource(whichModelResource).name
    member(whichCastmember).model(whichModel).name
    member(whichCastmember).light(whichLight).name
    member(whichCastmember).camera(whichCamera).name
    member(whichCastmember).group(whichGroup).name
    node.name

Description

3D property; when used with an object reference, allows you to get the name of the referenced object. You can only get the name; the name can't be changed.

All names must be unique. If created through Lingo, the name returned is the name given in the constructor function. If created through a 3D-authoring program the name returned may be the name of the model.

Examples

This statement sets the name of the fifth camera in the cast member TableScene to BirdCam.

    member("TableScene").camera[5].name = "BirdCam"