3D Lingo Dictionary > O-S > source

 

source

Syntax

sprite(whichSprite).camera.backdrop[backdropIndex].source
member(whichCastmember).camera(whichCamera).backdrop
[backdropIndex].source
sprite(whichSprite).camera.overlay[overlayIndex].source
member(whichCastmember).camera(whichCamera).overlay
[overlayIndex].source

Description

3D backdrop and overlay property; allows you to get or set the texture to use as the source image for the overlay or backdrop.

Example

This statement sets the source of backdrop 1 to the texture Cedar.

sprite(3).camera.backdrop[1].source = sprite(3).member.texture("Cedar")

See also

backdrop, overlay