3D Lingo Dictionary > O-S > resource

 

resource

Syntax

member(whichCastmember).model(whichModel).resource

Description

3D property; allows you to get or set the resource property that defines the geometry of the referenced model resource. This property also allows access to the referenced model's resource object and its associated properties.

Example

This statement sets the model resource used by the model named NewBox. It will now have the same geometry as the model named box.

member("3d World").model("NewBox").resource = member("3d World").model("box").resource

This statement displays the resolution property of the model resource used by the model named Cylinder.

put member("3d World").model("Cylinger").resource.resolution
-- 20