提供: wiki
< Dev:2.4‎ | Source‎ | Extensions‎ | BLU‎ | Documentation
移動先: 案内検索


Object gives the scripter access to Blender objects. The object module itself has only two methods =new()= and =get()=. Both return an object which can be further manipulated by either using methods of the object or by directly using member variables.

-- Create a new object of type Lamp
lampob =
-- Create a new object of type Camera with name [[BlenderDev/LuaCam|LuaCam]]
camob =, "LuaCam.html")
-- Get an existing Blender object with name "Spot"
lampob2 = Object.get("Spot")