3ds Max C++ API Reference
RealWorldMapUtils.h File Reference
#include "coreexp.h"
#include <WTypes.h>
#include "ifnpub.h"
#include "HOLD.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)
 
CoreExport void SetUsePhysicalScaleUVs (Animatable *pAnim, BOOL flag)
 
CoreExport BOOL GetPhysicalScaleUVsDisabled ()
 
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

◆ RWS_INTERFACE

#define RWS_INTERFACE   Interface_ID(0x9ff44ef, 0x6c050704)

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

Function Documentation

◆ GetUsePhysicalScaleUVs()

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.

◆ SetUsePhysicalScaleUVs()

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.

◆ GetPhysicalScaleUVsDisabled()

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.

◆ SetPhysicalScaleUVsDisabled()

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

◆ gRealWorldMapSizeDesc

CoreExport FPInterfaceDesc gRealWorldMapSizeDesc
extern

The unique instance of the real worls map size interface.