Bases: Cinema4DSingleObjLoader
Load Redshift Proxy.
Source code in client/ayon_cinema4d/plugins/load/load_redshiftproxy.py
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 | class RedshiftProxyLoader(plugin.Cinema4DSingleObjLoader):
"""Load Redshift Proxy."""
color = "orange"
product_types = {"*"}
icon = "code-fork"
label = "Load Redshift Proxy"
order = -10
representations = {"rs"}
# TODO: Automatically enable 'animation' on the redshift proxy with
# the correct frame start / frame end and offsets so it plays at the
# same frames as the source scene.
@property
def _node_type_id(self):
return 1038649 # Redshift Proxy ID
@property
def _filepath_attribute(self):
return c4d.REDSHIFT_PROXY_FILE, c4d.REDSHIFT_FILE_PATH
|