CG Framework 0.1
Chloroplast Games Framework
CGFSpriteAtlasScriptableEditor Class Reference
+ Inheritance diagram for CGFSpriteAtlasScriptableEditor:

Public Member Functions

override void OnInspectorGUI ()
 

Private Member Functions

void OnEnable ()
 
void SetSpriteAtlasVariantSettings (SpriteAtlas variant, CGFSpriteAtlasModel settings)
 
void SetSpriteAtlasSettings (SpriteAtlas spriteAtlas)
 

Private Attributes

CGFSpriteAtlasScriptable _spriteAtlasScriptable
 
SerializedProperty _master
 
SerializedProperty _allowRotation
 
SerializedProperty _maxTargetWidth
 
SerializedProperty _maxTargetHeigh
 
SerializedProperty _tightPacking
 
SerializedProperty _padding
 
SerializedProperty _generateMipMaps
 
SerializedProperty _sRGB
 
SerializedProperty _filterMode
 
SerializedProperty _variants
 
ReorderableList _variantsReordenable
 
readonly int[] _paddings = new[] { 2, 4, 8 }
 

Member Function Documentation

◆ OnEnable()

void CGFSpriteAtlasScriptableEditor.OnEnable ( )
private

◆ OnInspectorGUI()

override void CGFSpriteAtlasScriptableEditor.OnInspectorGUI ( )

◆ SetSpriteAtlasSettings()

void CGFSpriteAtlasScriptableEditor.SetSpriteAtlasSettings ( SpriteAtlas  spriteAtlas)
private

◆ SetSpriteAtlasVariantSettings()

void CGFSpriteAtlasScriptableEditor.SetSpriteAtlasVariantSettings ( SpriteAtlas  variant,
CGFSpriteAtlasModel  settings 
)
private

Member Data Documentation

◆ _allowRotation

SerializedProperty CGFSpriteAtlasScriptableEditor._allowRotation
private

◆ _filterMode

SerializedProperty CGFSpriteAtlasScriptableEditor._filterMode
private

◆ _generateMipMaps

SerializedProperty CGFSpriteAtlasScriptableEditor._generateMipMaps
private

◆ _master

SerializedProperty CGFSpriteAtlasScriptableEditor._master
private

◆ _maxTargetHeigh

SerializedProperty CGFSpriteAtlasScriptableEditor._maxTargetHeigh
private

◆ _maxTargetWidth

SerializedProperty CGFSpriteAtlasScriptableEditor._maxTargetWidth
private

◆ _padding

SerializedProperty CGFSpriteAtlasScriptableEditor._padding
private

◆ _paddings

readonly int [] CGFSpriteAtlasScriptableEditor._paddings = new[] { 2, 4, 8 }
private

◆ _spriteAtlasScriptable

CGFSpriteAtlasScriptable CGFSpriteAtlasScriptableEditor._spriteAtlasScriptable
private

◆ _sRGB

SerializedProperty CGFSpriteAtlasScriptableEditor._sRGB
private

◆ _tightPacking

SerializedProperty CGFSpriteAtlasScriptableEditor._tightPacking
private

◆ _variants

SerializedProperty CGFSpriteAtlasScriptableEditor._variants
private

◆ _variantsReordenable

ReorderableList CGFSpriteAtlasScriptableEditor._variantsReordenable
private

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