Skip to content

create_matchmove

CreateMatchmove

Bases: MayaCreator

Instance for more complex setup of cameras.

Might contain multiple cameras, geometries etc.

It is expected to be extracted into .abc or .ma

Source code in client/ayon_maya/plugins/create/create_matchmove.py
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
class CreateMatchmove(plugin.MayaCreator):
    """Instance for more complex setup of cameras.

    Might contain multiple cameras, geometries etc.

    It is expected to be extracted into .abc or .ma
    """

    identifier = "io.openpype.creators.maya.matchmove"
    label = "Matchmove"
    product_type = "matchmove"
    icon = "video-camera"

    def get_instance_attr_defs(self):

        defs = lib.collect_animation_defs()

        defs.extend([
            BoolDef("bakeToWorldSpace",
                    label="Bake Cameras to World-Space",
                    tooltip="Bake Cameras to World-Space",
                    default=True),
        ])

        return defs