-- Director 8.5 View Description List
-- Copyright 2000 Macromedia, Inc.
-- $Revision: 1 $

-- Add regPoint, defaultRect

-- 3D tab of Property Inspector

[
    #w3dMember:
    [
        #comment: "3D Model",
        
        #symbol: #shockwave3d,
        
		#helpTopic: 5010,

        #picture: [7900, 31],
        
        #propertyDescriptionList:
        [

            #title:
            [
                #comment: "Model Properties",
                #title: true
            ],

            #loop: 
            [
                 #format: #boolean,
                 #comment: "When TRUE, all animations in the scene will loop continuously. When FALSE, all animations in the scene will play once through and then stop."
            ],
                
            #animationEnabled:
            [
                #format: #boolean,
                #comment: "When true, enables animation playback in the 3D world."
            ],

            #duration:
            [
            	#format: integer,
                #editable: false,
            	#comment: "Duration of default animation in milliseconds"
            ],

			#title:
            [
                #title: true,
                #comment: "Display Properties"
            ],

            #directToStage: 
            [
                 #format: #boolean,
                 #comment: "When TRUE, the 3D sprite is rendered directly onto the Stage for faster playback. No other sprites can overlap the 3D world. When FALSE, the 3D sprite is rendered normally and other sprites can overlap it."
            ],
               
		    #regPoint:
		    [
				#format: #point,
				#comment: "Registration point offset from top-left"
			],     

			#defaultRect:
			[
    			#comment: "Default dimensions for new sprites"
			],

            #cameraPosition:
            [
				#format: #vector, 
                #comment: "Camera position [x, y, z]"
            ],

            #cameraRotation:
            [
				#format: #vector,
                #comment: "Camera position[x, y, z] "
            ],

            #title:
            [
                #title: true,
                #comment: "Streaming Properties"
            ],

            #preload: 
            [
                 #format: #boolean,
                 #comment: "When TRUE, the 3D cast member must load entirely before it can be displayed or played. When FALSE, the 3D world can stream into memory as it plays."
            ],
                    
            #percentStreamed:
            [
                #format: #integer,
                #editable: false,
                #comment: "The percent of a 3D world file that has streamed into memory. This property is a value from 0 to 100%."
            ],

            #bytesStreamed:
            [
                #format: #integer,
                #editable: false,
                #comment: "Indicates the number of bytes of the cast member that have been loaded into memory."
            ],

            #streamSize:
            [
                #format: #integer,
                #editable: false,
                #comment: "Indicates the total number of bytes in the stream for the cast member."
            ],

            #state:
            [
                #format: #integer,
                #editable: false,
                #comment: "Describes the current state of the streaming file. Returns a valid value only when the Director movie is running."
            ],

             #title:
            [
                #title: true,
                #comment: "Shader Properties"
            ],

            #diffuseColor:
            [
				#format: #color,
                #comment: "Diffuse color of first shader in RGB. DEFAULT: rgb( 255, 255, 255 )"
            ],

            #specularColor:
            [
				#format: #color,
                #comment: "Specular color of first shader in RGB. DEFAULT: rgb( 255, 255, 255 )"
            ],

            #reflectivity:
            [
                #format: #float,
				#range: 
				[
					#min: 0.0,
					#max: 100.0,
					#granularity: 1.0
				],
                #comment: "Reflectivity amount of first shader (0-100)"
            ],

			#textureType:
			[
				#type: #list,
				#range:
				[
					#none,
					#Default,
					#Member
				],
				#comment: "Specifies type of texture to use for the world. Select none, default (original texture for shader), or member (image from specified cast member as texture."
			],

            #textureMember:
            [
			 	#format: #string,
                #comment: "Specifies member name of bitmap cast member to use as default texture for world."
            ],

            #title:
            [
                #title: true,
                #comment: "World Light Properties"
            ],

            #directionalColor:
            [
				#format: #color,
                #comment: "Color of single default directional light in RGB. DEFAULT: rgb( 255, 255, 255 )"
            ],

            #directionalPreset:
            [
                #format: #symbol,
                #range:
                [
					#none,
                    #topLeft,
                    #topCenter,
                    #topRight,
                    #middleLeft,
                    #middleCenter,
                    #middleRight,
                    #bottomLeft,
                    #bottomCenter,
                    #bottomRight
                ],
                #comment: "Preset position of directional light (always faces world origin)."
			],

            #bgColor:
            [
				#format: #color,
                #comment: "Background color of all camera views in RGB. DEFAULT: rgb( 0, 0, 0 )"
            ],

            #ambientColor:
            [
				#format: #color,
                #comment: "Ambient light color applied to entire scene in RGB. DEFAULT: rgb( 0, 0, 0 )"

            ]
	],

        
        #itemDescriptionList:
        [            
            #posIcon:
            [
				#type: #picture,
				#picture: [7800, 26],
                #left: 0,
                #top: 6,
                #right: 22,
                #bottom: 6 + 20,
				#comment: "Camera Position"
            ],

            #cameraPosX:
            [
		#format: #float,
                #type: #field,
                #comment: "Camera Position X",
                #left: 22,
                #top: 6,
                #right: 22 + 49,
                #bottom: 6 + 20
            ],

            #cameraPosY:
            [
		#format: #float,
                #type: #field,
                #comment: "Camera Position Y",
                #left: 22 + 49 + 1,
                #top: 6,
                #right: 22 + 49 + 1 + 49,
                #bottom: 6 + 20
            ],

            #cameraPosZ:
            [
				#format: #float,
                #type: #field,
                #comment: "Camera Position Z",
                #left: 22 + 49 + 1 + 49 + 1,
                #top: 6,
                #right: 22 + 49 + 1 + 49 + 1 + 49,
                #bottom: 6 + 20
            ],


            #xyzLabel:
            [
        		#type: #label,
                #text: "x,y,z",
                #left: 22 + 49 + 1 + 49 + 1 + 49 + 2,
                #top: 8,
                #right: 24 + 49 + 1 + 49 + 1 + 49 + 30,
                #bottom: 8 + 16
            ],
			
			#rotIcon:
            [
        		#type: #picture,
                #picture: [7800, 25],
                #left: 0,
                #top: 28,
                #right: 22,
                #bottom: 28 + 20,
				#comment: "Camera Rotation"
            ],

            #cameraRotX:
            [
				#format: #float,
                #type: #field,
                #comment: "Camera Rotation X - degrees",
                #left: 22,
                #top: 28,
                #right: 22 + 49,
                #bottom: 28 + 20
            ],

            #cameraRotY:
            [
				#format: #float,
                #type: #field,
                #comment: "Camera Rotation Y - degrees",
                 #left: 22 + 49 + 1,
                #top: 28,
                #right: 22 + 49 + 1 + 49,
                #bottom: 28 + 20
            ],

            #cameraRotZ:
            [
				#format: #float,
                #type: #field,
                #comment: "Camera Rotation Z - degrees",
                #left: 22 + 49 + 1 + 49 + 1,
                #top: 28,
                #right: 22 + 49 + 1 + 49 + 1 + 49,
                #bottom: 28 + 20
            ],
		
            #xyzLabel:
            [
       	 		#type: #label,
                #text: "x,y,z",
                #left: 22 + 49 + 1 + 49 + 1 + 49 + 3,
                #top: 30,
                #right: 22 + 49 + 1 + 49 + 1 + 49 + 30,
                #bottom: 30 + 16
            ],
			
            #directToStage:
            [
				#type: #checkbox,
                #property: #directToStage,
                #text: "Direct to Stage",
                #left: 22,
                #top: 54,
                #right: 120,
                #bottom: 54 + 18
            ],

            #animationEnabled:
            [
                #type: #checkbox,
                #property: #animationEnabled,
                #text: "Play Animation",
                #left: 22,
                #top: 72,
                #right: 120,
                #bottom: 72 + 18
            ],

            #loop:
            [
				#type: #checkbox,
                #property: #loop,
                #text: "Loop",
                #left: 22,
                #top: 90,
                #right: 110,
                #bottom: 90 + 18
            ],

			#preload:
            [
                #type: #checkbox,
                #property: #preload,
                #text: "Preload",
                #left: 121,
                #top: 54,
                #right: -1,
                #bottom: 54 + 18
            ],

			 #revertToWorldDefaults:
            [
        		#type: #button,
                #alignment: #right,
                #text: "Revert to World Defaults",
                #left: 23,
                #top: 113,
                #right: 176,
                #bottom: 113 + 20
            ],

--------------------------------------------------

           
            #directionalLabel:
            [
				#type: #label,
                #text: "Director Light:",
                #left: 0,
                #top: 146,
                #right: 172,
                #bottom: 146 + 20
            ],
			
			#directionalPreset:
            [
                #property: #directionalPreset,
                #range:
                [
					"None",
                    "Top Left",
                    "Top Center",
                    "Top Right",
                    "Middle Left",
                    "Middle Center",
                    "Middle Right",
                    "Bottom Left",
                    "Bottom Center",
                    "Bottom Right"
                ],
                #left: 0,
                #top: 160,
                #right: 95,
                #bottom: 160 + 22
            ],

			 #directionalLabelTwo:
            [
				#type: #label,
                #alignment: #right,
                #text: "Directional:",
                #left: 110,
                #top: 164,
                #right: 172,
                #bottom: 164 + 20
            ],

            #directionalColor:
            [
				#type: #color,
        		#property: #directionalColor,
        		#comment: "Color of single default directional light in RGB. DEFAULT: rgb( 255, 255, 255 )",
                #left: 178,
                #top: 161,
                #right: 198,
                #bottom: 161 + 20
            ],


            #ambientLabel:
            [
        		#type: #label,
                #alignment: #right,
                #text: "Ambient:",
                #left: 7,
                #top: 189,
                #right: 69,
                #bottom: 189 + 20
            ],

                
            #ambientColor:
            [
				#type: #color,
                #property: #ambientColor,
                #comment: "Ambient light color applied to entire scene in RGB. DEFAULT: rgb( 0, 0, 0 )",
				#left: 75,
                #top: 186,
                #right: 95,
                #bottom: 186 + 20
            ],
           
            #bgColorLabel:
            [
    	    	#type: #label,
                #alignment: #right,
                #text: "Background:",
                #left: 110,
                #top: 189,
                #right: 172,
                #bottom: 189 + 20
            ],

            #bgColor:
            [
				#type: #color,
                #comment: "Background color of all camera views in RGB. DEFAULT: rgb( 0, 0, 0 )",
                #property: #bgColor,
                #left: 178,
                #top: 186,
                #right: 178 + 20,
                #bottom: 186 + 20
            ],


            #textureLabel:
            [
    	    	#type: #label,
                #text: "Shader Texture:",
                #left: 0,
                #top: 214,
                #right: 80,
                #bottom: 214 + 20
            ],

            #textureType:
            [
                #property: #textureType,
				#range:
				[
					"None",
					"Default",
					"Member"
				],
                #left: 0,
                #top: 227,
                #right: 95,
                #bottom: 227 + 22
            ],

            #textureMember:
            [
                #property: #textureMember,
                #comment: "Specifies member name of bitmap cast member to use as default texture for world.",
                #left: 102,
                #top: 227,
                #right: 198,
                #bottom: 227 + 22
            ],

			 #colorLabel:
            [
        		#type: #label,
                #alignment: #right,
                #text: "Diffuse:",
                #left: 7,
                #top: 256,
                #right: 69,
                #bottom: 256 + 20
            ],

            #diffuseColor:
            [
				#type: #color,
                #property: #diffuseColor,
                #comment: "Diffuse color of first shader in RGB. DEFAULT: rgb( 255, 255, 255 )",
                #left: 75,
                #top: 253,
                #right: 95,
                #bottom: 253 + 20
            ],

            #specularLabel:
            [
       			#type: #label,
                #alignment: #right,
                #text: "Specular:",
                #left: 100,
                #top: 256,
                #right: 172,
                #bottom: 256 + 20
            ],

            #specularColor:
            [
				#type: #color,
                #property: #specularColor,
                #comment: "Specular color of first shader in RGB. DEFAULT: rgb( 255, 255, 255 )",
                #left: 178,
                #top: 253,
                #right: 178 + 20,
                #bottom: 253 + 20
            ],

            #ReflectivityLabel:
            [
       			#type: #label,
                #alignment: #right,
                #text: "Reflectivity:",
                #left: 0,
                #top: 280,
                #right: 69,
                #bottom: 280 + 20
            ],

            #reflectivity:
            [
                #property: #reflectivity,
                #comment: "Reflectivity amount of first shader (0-100)",
                #left: 73,
                #top: 278,
                #right: 199,
                #bottom: 278 + 20
            ]
        ]
    ]
]

