studio.constants module

Provides model based functionality.

class studio.constants.ModelType

Bases: Boost.Python.enum

BAD = _studio._constants.ModelType.BAD
BRUSH = _studio._constants.ModelType.BRUSH
SPRITE = _studio._constants.ModelType.SPRITE
STUDIO = _studio._constants.ModelType.STUDIO
names = {'BAD': _studio._constants.ModelType.BAD, 'BRUSH': _studio._constants.ModelType.BRUSH, 'SPRITE': _studio._constants.ModelType.SPRITE, 'STUDIO': _studio._constants.ModelType.STUDIO}
values = {0: _studio._constants.ModelType.BAD, 1: _studio._constants.ModelType.BRUSH, 2: _studio._constants.ModelType.SPRITE, 3: _studio._constants.ModelType.STUDIO}
class studio.constants.StudioFlags[source]

Bases: enum.IntEnum

Studio flags wrapper enumerator.

_member_type_

alias of int

_generate_next_value_(name, start, count, last_values)
DRAWTRANSLUCENTSUBMODELS = <StudioFlags.DRAWTRANSLUCENTSUBMODELS: 4>
NONE = <StudioFlags.NONE: 0>
NOSHADOWS = <StudioFlags.NOSHADOWS: 128>
RENDER = <StudioFlags.RENDER: 1>
SHADOWDEPTHTEXTURE = <StudioFlags.SHADOWDEPTHTEXTURE: 1073741824>
STATIC_LIGHTING = <StudioFlags.STATIC_LIGHTING: 16>
TRANSPARENCY = <StudioFlags.TRANSPARENCY: 2147483648>
TWOPASS = <StudioFlags.TWOPASS: 8>
VIEWXFORMATTACHMENTS = <StudioFlags.VIEWXFORMATTACHMENTS: 2>
WIREFRAME = <StudioFlags.WIREFRAME: 32>
WIREFRAME_VCOLLIDE = <StudioFlags.WIREFRAME_VCOLLIDE: 256>
_member_map_ = OrderedDict([('NONE', <StudioFlags.NONE: 0>), ('RENDER', <StudioFlags.RENDER: 1>), ('VIEWXFORMATTACHMENTS', <StudioFlags.VIEWXFORMATTACHMENTS: 2>), ('DRAWTRANSLUCENTSUBMODELS', <StudioFlags.DRAWTRANSLUCENTSUBMODELS: 4>), ('TWOPASS', <StudioFlags.TWOPASS: 8>), ('STATIC_LIGHTING', <StudioFlags.STATIC_LIGHTING: 16>), ('WIREFRAME', <StudioFlags.WIREFRAME: 32>), ('ITEM_BLINK', <StudioFlags.ITEM_BLINK: 64>), ('NOSHADOWS', <StudioFlags.NOSHADOWS: 128>), ('WIREFRAME_VCOLLIDE', <StudioFlags.WIREFRAME_VCOLLIDE: 256>), ('TRANSPARENCY', <StudioFlags.TRANSPARENCY: 2147483648>), ('SHADOWDEPTHTEXTURE', <StudioFlags.SHADOWDEPTHTEXTURE: 1073741824>)])
_member_names_ = ['NONE', 'RENDER', 'VIEWXFORMATTACHMENTS', 'DRAWTRANSLUCENTSUBMODELS', 'TWOPASS', 'STATIC_LIGHTING', 'WIREFRAME', 'ITEM_BLINK', 'NOSHADOWS', 'WIREFRAME_VCOLLIDE', 'TRANSPARENCY', 'SHADOWDEPTHTEXTURE']
_value2member_map_ = {0: <StudioFlags.NONE: 0>, 1: <StudioFlags.RENDER: 1>, 2: <StudioFlags.VIEWXFORMATTACHMENTS: 2>, 4: <StudioFlags.DRAWTRANSLUCENTSUBMODELS: 4>, 8: <StudioFlags.TWOPASS: 8>, 16: <StudioFlags.STATIC_LIGHTING: 16>, 32: <StudioFlags.WIREFRAME: 32>, 64: <StudioFlags.ITEM_BLINK: 64>, 128: <StudioFlags.NOSHADOWS: 128>, 256: <StudioFlags.WIREFRAME_VCOLLIDE: 256>, 2147483648: <StudioFlags.TRANSPARENCY: 2147483648>, 1073741824: <StudioFlags.SHADOWDEPTHTEXTURE: 1073741824>}