vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
PhysXVreckoMessages.h
Go to the documentation of this file.
1
#ifndef PHYSXVRECKOMESSAGES_H
2
#define PHYSXVRECKOMESSAGES_H
3
4
5
#include <
vrecko/Ability.h
>
6
#include <
vrecko/Message.h
>
7
8
#include <NxScene.h>
9
#include <NxActor.h>
10
#include <NxMaterial.h>
11
12
13
namespace
PhysXPlugin
14
{
15
16
VRECKO_START_MESSAGE_EXTENDED
(MessageNxScenePtr, NxScene*)
17
VRECKO_END_MESSAGE
18
19
20
VRECKO_START_MESSAGE_EXTENDED
(MessageNxActorPtr, NxActor*)
21
VRECKO_END_MESSAGE
22
23
24
class
MessageNxActorWithName
: public vrecko::VreckoMessage {
25
public
:
26
MessageNxActorWithName
() {};
27
MessageNxActorWithName
(NxActor* actor,
const
char
*name) { _actor = actor; _name = name; }
28
virtual
const
char
*
getMessageId
() {
return
"MessageNxActorWithName"
; }
29
30
NxActor*
_actor
;
31
std::string
_name
;
32
};
33
34
35
class
UpdatablePhysXObject
;
36
37
VRECKO_START_MESSAGE_EXTENDED
(MessageUpdatablePhysXObjectPtr,
UpdatablePhysXObject
*)
38
VRECKO_END_MESSAGE
39
40
41
VRECKO_START_MESSAGE_EXTENDED
(MessageNxMaterialIndex, NxMaterialIndex)
42
VRECKO_END_MESSAGE
43
44
45
46
47
48
}
49
50
51
52
#endif
src
vreckoAP
PhysX
PhysXVreckoMessages.h
Generated on Tue Feb 19 2013 10:23:46 for vrecko by
1.8.3.1