MeshBaker
Public Member Functions | List of all members
DigitalOpus.MB.Core.MB2_EditorMethodsInterface Interface Reference

M b2_ texture combiner editor methods. More...

Inheritance diagram for DigitalOpus.MB.Core.MB2_EditorMethodsInterface:
DigitalOpus.MB.Core.MB3_EditorMethods

Public Member Functions

void Clear ()
 
void SetReadFlags (ProgressUpdateDelegate progressInfo)
 
void SetReadWriteFlag (Texture2D tx, bool isReadable, bool addToList)
 
void AddTextureFormat (Texture2D tx, bool isNormalMap)
 
void SaveAtlasToAssetDatabase (Texture2D atlas, ShaderTextureProperty texPropertyName, int atlasNum, Material resMat)
 
void SetMaterialTextureProperty (Material target, ShaderTextureProperty texPropName, string texturePath)
 
void SetNormalMap (Texture2D tx)
 
bool IsNormalMap (Texture2D tx)
 
string GetPlatformString ()
 
void SetTextureSize (Texture2D tx, int size)
 
bool IsCompressed (Texture2D tx)
 
int GetMaximumAtlasDimension ()
 
void CheckBuildSettings (long estimatedAtlasSize)
 
bool CheckPrefabTypes (MB_ObjsToCombineTypes prefabType, List< GameObject > gos)
 
bool ValidateSkinnedMeshes (List< GameObject > mom)
 
void CommitChangesToAssets ()
 
void Destroy (UnityEngine.Object o)
 

Detailed Description

M b2_ texture combiner editor methods.

Contains functionality such as changeing texture formats Which is only available in the editor. These methods have all been put in a class so that the UnityEditor namespace does not need to be included in any of the the runtime classes.

Member Function Documentation

void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.AddTextureFormat ( Texture2D  tx,
bool  isNormalMap 
)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.CheckBuildSettings ( long  estimatedAtlasSize)
bool DigitalOpus.MB.Core.MB2_EditorMethodsInterface.CheckPrefabTypes ( MB_ObjsToCombineTypes  prefabType,
List< GameObject >  gos 
)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.Clear ( )
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.CommitChangesToAssets ( )
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.Destroy ( UnityEngine.Object  o)
int DigitalOpus.MB.Core.MB2_EditorMethodsInterface.GetMaximumAtlasDimension ( )
string DigitalOpus.MB.Core.MB2_EditorMethodsInterface.GetPlatformString ( )
bool DigitalOpus.MB.Core.MB2_EditorMethodsInterface.IsCompressed ( Texture2D  tx)
bool DigitalOpus.MB.Core.MB2_EditorMethodsInterface.IsNormalMap ( Texture2D  tx)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SaveAtlasToAssetDatabase ( Texture2D  atlas,
ShaderTextureProperty  texPropertyName,
int  atlasNum,
Material  resMat 
)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SetMaterialTextureProperty ( Material  target,
ShaderTextureProperty  texPropName,
string  texturePath 
)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SetNormalMap ( Texture2D  tx)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SetReadFlags ( ProgressUpdateDelegate  progressInfo)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SetReadWriteFlag ( Texture2D  tx,
bool  isReadable,
bool  addToList 
)
void DigitalOpus.MB.Core.MB2_EditorMethodsInterface.SetTextureSize ( Texture2D  tx,
int  size 
)
bool DigitalOpus.MB.Core.MB2_EditorMethodsInterface.ValidateSkinnedMeshes ( List< GameObject >  mom)

The documentation for this interface was generated from the following file: