Public Types |
enum | KX_RANDOMACT_MODE {
KX_RANDOMACT_NODEF,
KX_RANDOMACT_BOOL_CONST,
KX_RANDOMACT_BOOL_UNIFORM,
KX_RANDOMACT_BOOL_BERNOUILLI,
KX_RANDOMACT_INT_CONST,
KX_RANDOMACT_INT_UNIFORM,
KX_RANDOMACT_INT_POISSON,
KX_RANDOMACT_FLOAT_CONST,
KX_RANDOMACT_FLOAT_UNIFORM,
KX_RANDOMACT_FLOAT_NORMAL,
KX_RANDOMACT_FLOAT_NEGATIVE_EXPONENTIAL,
KX_RANDOMACT_MAX
} |
Public Methods |
| SCA_RandomActuator (class SCA_IObject* gameobj, long seed, KX_RANDOMACT_MODE mode, float para1, float para2, const CCString &propName, PyTypeObject* T=&Type) |
| Set random/camera stuff. More...
|
virtual | ~SCA_RandomActuator () |
virtual bool | Update (double curtime,double deltatime) |
virtual CValue* | GetReplica () |
virtual PyObject* | _getattr (char *attr) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetSeed) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,GetSeed) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,GetPara1) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,GetPara2) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,GetDistribution) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetProperty) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,GetProperty) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetBoolConst) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetBoolUniform) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetBoolBernouilli) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetIntConst) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetIntUniform) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetIntPoisson) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetFloatConst) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetFloatUniform) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetFloatNormal) |
| KX_PYMETHOD_DOC (SCA_RandomActuator,SetFloatNegativeExponential) |
Public Attributes |
KX_RANDOMACT_MODE | m_distribution |
| distribution type. More...
|