RealWorldMapUtils.h File Reference

RealWorldMapUtils.h File Reference
#include "coreexp.h"
#include <WTypes.h>
#include "ifnpub.h"

Classes

class  RealWorldScaleRecord< T >
 Class for creating undo record for any class with a "Real-World Map Size" property. More...
 
class  RealWorldMapSizeInterface
 The commong mix-in interface for setting realWorldMapSize properties on objects and modifiers. More...
 

Macros

#define RWS_INTERFACE   Interface_ID(0x9ff44ef, 0x6c050704)
 The class ID of the real-world scale interface RealWorldMapSizeInterface. More...
 

Functions

CoreExport BOOL GetUsePhysicalScaleUVs (Animatable *pAnim)
 These methods are used by many objects and modifiers to handle the app data required to tag an object as using phyically scaled UVs. More...
 
CoreExport void SetUsePhysicalScaleUVs (Animatable *pAnim, BOOL flag)
 
CoreExport BOOL GetPhysicalScaleUVsDisabled ()
 Set/Get the property which says we should use real-world map size by default. More...
 
CoreExport void SetPhysicalScaleUVsDisabled (BOOL disable)
 Set the value of this flag. More...
 

Variables

CoreExport FPInterfaceDesc gRealWorldMapSizeDesc
 The unique instance of the real worls map size interface. More...
 

Macro Definition Documentation

#define RWS_INTERFACE   Interface_ID(0x9ff44ef, 0x6c050704)

The class ID of the real-world scale interface RealWorldMapSizeInterface.

Function Documentation

CoreExport BOOL GetUsePhysicalScaleUVs ( Animatable pAnim)

These methods are used by many objects and modifiers to handle the app data required to tag an object as using phyically scaled UVs.

Parameters
[in]pAnim- The object to query for the real-world app data.
Returns
the current value of the flag stored in the app date.
CoreExport void SetUsePhysicalScaleUVs ( Animatable pAnim,
BOOL  flag 
)
Parameters
[in]pAnim- The object to set for the real-world app data on.
[in]flag- the new value of the toggle to set in the app data.
CoreExport BOOL GetPhysicalScaleUVsDisabled ( )

Set/Get the property which says we should use real-world map size by default.

This value is stored in the market defaults INI file.

Returns
the current value of the flag from the market defaults file.
CoreExport void SetPhysicalScaleUVsDisabled ( BOOL  disable)

Set the value of this flag.

Parameters
[in]disable- the new value of the flag to store in the market defaults file.

Variable Documentation

CoreExport FPInterfaceDesc gRealWorldMapSizeDesc

The unique instance of the real worls map size interface.