VR-Forces 4.1 Class Documentation
Home
Modules
Namespaces
Classes
Files
Examples
Behavior Models
File List
File Members
include
vrvCore
DtShadowSettingsCommand.h
Go to the documentation of this file.
1
/*******************************************************************************
2
** Copyright (c) 2010 MAK Technologies, Inc.
3
** All rights reserved.
4
*******************************************************************************/
5
/*******************************************************************************
6
** $RCSfile: $ $Revision: 95512 $ $State: $
7
*******************************************************************************/
8
12
13
#pragma once
14
15
#include <
vrvCore/DtVrvCommand.h
>
16
17
namespace
makVrv
18
{
21
class
DT_DLL_VRVCORE
DtShadowSettingsCommand
:
public
DtVrvCommand
22
{
23
public
:
24
DtShadowSettingsCommand
();
25
virtual
~
DtShadowSettingsCommand
();
26
27
virtual
bool
entitesCastShadows()
const
;
28
virtual
void
setEntitiesCastShadows(
bool
state);
29
30
virtual
bool
propsCastShadows()
const
;
31
virtual
void
setPropsCastShadows(
bool
state);
32
33
virtual
bool
terrainCastsShadows()
const
;
34
virtual
void
setTerrainCastsShadows(
bool
state);
35
36
virtual
int
quality()
const
;
37
virtual
void
setQuality(
const
int
& newQuality);
38
39
virtual
void
execute(
DtDe
& de);
40
41
protected
:
42
bool
myEntitiesCastShadows
;
43
bool
myPropsCastShadows
;
44
bool
myTerrainCastShadows
;
45
int
myQuality
;
46
};
47
50
class
DT_DLL_VRVCORE
DtShadowSettingsCommandCreator
:
public
DtVrvCommandCreator
51
{
52
public
:
53
DtShadowSettingsCommandCreator
(
GlobalIdConvertFunc
func):
DtVrvCommandCreator
(func) {}
54
virtual
~DtShadowSettingsCommandCreator
() {}
55
56
virtual
DtVrvCommand
* create(
vrvControlToolkit::DtVrvControl_v1
* control);
57
};
58
59
}
//makVrv::
Document ID: Generated on Tue Jan 29 18:21:16 EST 2013 from SVN revision 123193
Copyright © 2005-2013 VT MÄK Inc. All Rights Reserved (
www.mak.com
)