aboutsummaryrefslogtreecommitdiff
path: root/scripts/artv2/components/camera.py
blob: 4d199224f4c6bf1d94a5aeeed5dbac95e454c878 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# -*- coding: utf-8 -*-
"""
:author:
    Jeremy Ernst
:description:
    This module contains the class for defining a camera component. The camera component creates 3 joints: a camera
    root, a camera joint, and an aim joint. This is a unique component that is meant for animating a game camera.
"""

import artv2.components.base_components.base_component as base


class Camera(base.ART_Component):
    """
    This class creates a camera component, which is a unique component meant for animating a game camera.
    The camera component creates 3 joints: a camera root, a camera joint, and an aim joint.
    """

    nice_name = "Camera"
    category = "Special"
    base_name = "camera"
    has_sides = False
    can_overwrite_names = True
    joint_mover_file = "resources\\rigging_guides\\camera.ma"

    def _add_metadata(self, network_node, prefix, suffix):

        super(Camera, self)._add_metadata(network_node, prefix, suffix)