利用者:Sculptorjim/Game Engine/Physics/PythonAccessToOptions

提供: wiki
< 利用者:Sculptorjim‎ | Game Engine‎ | Physics
2018年6月29日 (金) 05:48時点におけるYamyam (トーク | 投稿記録)による版 (1版 をインポートしました)
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索
Blender3D FreeTip.png
bpy Access
Note that most of these properties are accessible through the non-BGE scripting API via bpy.data.objects["ObjectName"].game, which is of type bpy.types.GameObjectSetting. This is useful so you can, for example, set a range of objects to have gradated values via a for-loop.