Actuator(bpy_struct)¶
base class — bpy_struct
subclasses —
ActionActuator
, ArmatureActuator
, CameraActuator
, CollectionActuator
, ConstraintActuator
, EditObjectActuator
, Filter2DActuator
, GameActuator
, MessageActuator
, MouseActuator
, ObjectActuator
, ParentActuator
, PropertyActuator
, RandomActuator
, SceneActuator
, SoundActuator
, StateActuator
, SteeringActuator
, VibrationActuator
, VisibilityActuator
- class bpy.types.Actuator(bpy_struct)¶
Actuator to apply actions in the game engine
- active¶
Set the active state of the actuator
- Type:
boolean, default False
- name¶
- Type:
string, default “”, (never None)
- pin¶
Display when not linked to a visible states controller
- Type:
boolean, default False
- show_expanded¶
Set actuator expanded in the user interface
- Type:
boolean, default False
- type¶
- Type:
enum in [‘ACTION’, ‘ARMATURE’, ‘CAMERA’, ‘COLLECTION’, ‘CONSTRAINT’, ‘EDIT_OBJECT’, ‘FILTER_2D’, ‘GAME’, ‘MESSAGE’, ‘MOTION’, ‘MOUSE’, ‘PARENT’, ‘PROPERTY’, ‘RANDOM’, ‘SCENE’, ‘SOUND’, ‘STATE’, ‘STEERING’, ‘VIBRATION’, ‘VISIBILITY’], default ‘MOTION’
- link(controller)¶
Link the actuator to a controller
- Parameters:
controller (
Controller
) – Controller to link to
- unlink(controller)¶
Unlink the actuator from a controller
- Parameters:
controller (
Controller
) – Controller to unlink from
- classmethod bl_rna_get_subclass(id, default=None)¶
- Parameters:
id (str) – The RNA type identifier.
- Returns:
The RNA type or default when not found.
- Return type:
bpy.types.Struct
subclass