Classes | Defines | Variables

RealWorldMapUtils.h File Reference

#include "coreexp.h"
#include <WTypes.h>
#include "ifnpub.h"

Go to the source code of this file.

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...

Defines

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

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.
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.
CoreExport void  SetPhysicalScaleUVsDisabled (BOOL disable)
  Set the value of this flag.

Variables

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

Define Documentation

#define RWS_INTERFACE   Interface_ID(0x9ff44ef, 0x6c050704)

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

Definition at line 65 of file RealWorldMapUtils.h.


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

The unique instance of the real worls map size interface.