FANDOM



Colours the 3D backdrop in the specified COLOR.

Syntax
COLOR BACKDROP Color Value
COLOR BACKDROP Camera Number, Color Value
Parameters
Camera Number

Integer
The camera number Color Value Dword
You can specify the color of your choice by using the rgb command to generate the color value to pass into the command

Returns

This command does not return a value.

Description

You can specify the COLOR of your choice by using the RGB command to generate the COLOR value to pass into the command. The parameter should be specified using an integer value.

Example Code
autocam on

make matrix 1,4000,4000,100,100

set matrix height 1,50,50,500

update matrix 1

backdrop on

color backdrop rgb(128,0,0)

while inkey$()<>"x"

set cursor 0,0

print "angle x:";camera angle x(0)

print "angle y:";camera angle y(0)

print "angle z:";camera angle z(0)

print "position x:";camera position x(0)

print "position y:";camera position y(0)

print "position z:";camera position z(0)

x#=x#+mousemovey() : y#=y#+mousemovex() : rotate camera 0,x#,y#,0

endwhile

backdrop off

delete matrix 1

autocam off

end
Community content is available under CC-BY-SA unless otherwise noted.