提供: wiki
< Dev:2.4‎ | Source‎ | Extensions‎ | BLU‎ | Documentation
2018年6月29日 (金) 02:45時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索


Camera gives the scripter access to Blender camera data. The Camera module itself has only two methods new() and get(). Both return a camera which can be further manipulated by either using methods of the camera or by directly using member variables.

-- Create a new camera datum of type Persp
camdat =
-- Create a new camera datum of type Ortho with name LuaCamDat
camdat2 =, "LuaCamDat")
-- Get an existing Blender camera datum with name "LuaCamDat"
camdat3 = Camera.get("LuaCamDat")