GameProperty(bpy_struct)

base class — bpy_struct

subclasses — GameBooleanProperty, GameFloatProperty, GameIntProperty, GameStringProperty, GameTimerProperty

class bpy.types.GameProperty(bpy_struct)

Game engine user defined object property

name

Available as GameObject attributes in the game engine’s python API

Type

string, default “”, (never None)

show_debug

Print debug information for this property

Type

boolean, default False

type
  • BOOL Boolean, Boolean Property.

  • INT Integer, Integer Property.

  • FLOAT Float, Floating-Point Property.

  • STRING String, String Property.

  • TIMER Timer, Timer Property.

Type

enum in [‘BOOL’, ‘INT’, ‘FLOAT’, ‘STRING’, ‘TIMER’], default ‘BOOL’

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References