generated from stilobique/BlenderTemplate
Make the outline config ops
This commit is contained in:
@@ -4,6 +4,9 @@ from pathlib import Path
|
||||
|
||||
|
||||
class FangeProject:
|
||||
"""
|
||||
This object is a model to give all Unity project path.
|
||||
"""
|
||||
def __init__(self):
|
||||
self._pref = bpy.context.preferences.addons[__name__.split(".")[0]].preferences
|
||||
|
||||
@@ -26,3 +29,27 @@ class FangeProject:
|
||||
@property
|
||||
def characters(self):
|
||||
return self._project_path.joinpath(self._subdir_path, self._characters_path)
|
||||
|
||||
|
||||
class Outline:
|
||||
"""
|
||||
Model about the Outline config.
|
||||
"""
|
||||
def __init__(self):
|
||||
self._collections = {
|
||||
'Placeholder': ['COLOR_01'],
|
||||
'Icon': ['COLOR_04'],
|
||||
'Game Object': ['COLOR_05']
|
||||
}
|
||||
|
||||
@property
|
||||
def placeholder(self):
|
||||
return 'Placeholder'
|
||||
|
||||
@property
|
||||
def icon(self):
|
||||
return 'Icon'
|
||||
|
||||
@property
|
||||
def game(self):
|
||||
return 'Game Object'
|
||||
|
||||
Reference in New Issue
Block a user