Module SCA_PropertyActuator :: Class SCA_PropertyActuator

Class SCA_PropertyActuator

source code

SCA_ILogicBrick.SCA_ILogicBrick --+    
                                  |    
        SCA_IActuator.SCA_IActuator --+
                                      |
                                     SCA_PropertyActuator

Property Actuator

Instance Methods
 
setProperty(prop)
Set the property on which to operate.
source code
string
getProperty()
Returns the name of the property on which to operate.
source code
 
setValue(value)
Set the value with which the actuator operates.
source code
string
getValue()
Gets the value with which this actuator operates.
source code

Inherited from SCA_ILogicBrick.SCA_ILogicBrick: getExecutePriority, getOwner, setExecutePriority

Method Details

setProperty(prop)

source code 

Set the property on which to operate.

If there is no property of this name, the call is ignored.
Parameters:
  • prop (string) - The name of the property to set.

setValue(value)

source code 

Set the value with which the actuator operates.

If the value is not compatible with the type of the property, the subsequent action is ignored.