![]() |
VR-Forces Developer's Guide
|
Like the DtTextureAtlasMapper, this class operates on appearance changes Right now, it operates on the camouflage bit changes in the entity appearance set from vrf It first registers all the texture variants (if it is the first time coming through here), if possible Then, for the incoming variant, it will ask the articulated model instance to change it's texture variant.

Public Member Functions | |
| DtTexturesRemapper (DtDe &de) | |
| virtual | ~DtTexturesRemapper () |
| virtual void | configure (DtOsgArticulatedModel *osgArticulatedModel, const rapidjson::Value &jsonData) |
Public Member Functions inherited from makVrv::DtVirtualBaseClass | |
| DtVirtualBaseClass () | |
| virtual | ~DtVirtualBaseClass () |
Static Public Attributes | |
| static const char * | theFeatureName |
Protected Member Functions | |
| virtual void | fillVariantNames (std::vector< std::string > &modelTextureVariants, const rapidjson::Value &jsonData, bool skipNull) |
| virtual bool | isNull (const std::string &variant) |
Protected Attributes | |
| std::string | myFeatureName |
| std::string | myAtlasFile |
| DtDe & | myDe |
Private Member Functions | |
| DtTexturesRemapper ()=delete | |
| DtTexturesRemapper (const DtTexturesRemapper &orig)=delete | |
| DtTexturesRemapper & | operator= (const DtTexturesRemapper)=delete |
| makVrv::DtTexturesRemapper::DtTexturesRemapper | ( | DtDe & | de | ) |
CTOR.
|
virtual |
DTOR.
|
privatedelete |
not allowed
|
privatedelete |
not allowed
|
virtual |
Configure node based on json data, modifies the UV offset of the osgArticulatedModel.
|
privatedelete |
not allowed
|
protectedvirtual |
get names of all variants in the meta file for the entity
|
protectedvirtual |
whether represents a non-variant (ie original model)
|
static |
Strings to get the different parts of the meta file.
|
protected |
The name of the feature in the .meta file.
|
protected |
The path to the atlas file in the .meta file.
|
protected |