Blender V2.61 - r43446
Public Types | Public Member Functions | Public Attributes

KX_SoundActuator Class Reference

#include <KX_SoundActuator.h>

Inheritance diagram for KX_SoundActuator:
Inheritance graph
[legend]

List of all members.

Public Types

enum  KX_SOUNDACT_TYPE {
  KX_SOUNDACT_NODEF = 0, KX_SOUNDACT_PLAYSTOP, KX_SOUNDACT_PLAYEND, KX_SOUNDACT_LOOPSTOP,
  KX_SOUNDACT_LOOPEND, KX_SOUNDACT_LOOPBIDIRECTIONAL, KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP, KX_SOUNDACT_MAX
}

Public Member Functions

 KX_SoundActuator (SCA_IObject *gameobj, AUD_Reference< AUD_IFactory > sound, float volume, float pitch, bool is3d, KX_3DSoundSettings settings, KX_SOUNDACT_TYPE type)
 ~KX_SoundActuator ()
virtual bool Update (double curtime, bool frame)
CValueGetReplica ()
void ProcessReplica ()

Public Attributes

KX_SOUNDACT_TYPE m_type

Detailed Description

Definition at line 58 of file KX_SoundActuator.h.


Member Enumeration Documentation

Enumerator:
KX_SOUNDACT_NODEF 
KX_SOUNDACT_PLAYSTOP 
KX_SOUNDACT_PLAYEND 
KX_SOUNDACT_LOOPSTOP 
KX_SOUNDACT_LOOPEND 
KX_SOUNDACT_LOOPBIDIRECTIONAL 
KX_SOUNDACT_LOOPBIDIRECTIONAL_STOP 
KX_SOUNDACT_MAX 

Definition at line 73 of file KX_SoundActuator.h.


Constructor & Destructor Documentation

KX_SoundActuator::KX_SoundActuator ( SCA_IObject gameobj,
AUD_Reference< AUD_IFactory sound,
float  volume,
float  pitch,
bool  is3d,
KX_3DSoundSettings  settings,
KX_SOUNDACT_TYPE  type 
)

Definition at line 55 of file KX_SoundActuator.cpp.

References m_type.

Referenced by GetReplica().

KX_SoundActuator::~KX_SoundActuator ( )

Definition at line 75 of file KX_SoundActuator.cpp.

References AUD_Reference< T >::isNull().


Member Function Documentation

CValue * KX_SoundActuator::GetReplica ( void  ) [virtual]

Implements CValue.

Definition at line 142 of file KX_SoundActuator.cpp.

References KX_SoundActuator(), and ProcessReplica().

void KX_SoundActuator::ProcessReplica ( ) [virtual]

Makes sure any internal data owned by this class is deep copied.

Reimplemented from SCA_IActuator.

Definition at line 149 of file KX_SoundActuator.cpp.

Referenced by GetReplica().

bool KX_SoundActuator::Update ( double  curtime,
bool  frame 
) [virtual]

Member Data Documentation

Reimplemented from SCA_IActuator.

Definition at line 85 of file KX_SoundActuator.h.

Referenced by KX_SoundActuator(), and Update().


The documentation for this class was generated from the following files: