Blender V2.61 - r43446
Functions | Variables

rna_nla.c File Reference

#include <stdlib.h>
#include "RNA_define.h"
#include "rna_internal.h"
#include "DNA_anim_types.h"
#include "DNA_action_types.h"
#include "DNA_scene_types.h"
#include "MEM_guardedalloc.h"
#include "WM_api.h"
#include "WM_types.h"

Go to the source code of this file.

Functions

static void rna_def_nlastrip (BlenderRNA *brna)
static void rna_api_nlatrack_strips (BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_nlatrack (BlenderRNA *brna)
void RNA_def_nla (BlenderRNA *brna)

Variables

EnumPropertyItem nla_mode_blend_items []
EnumPropertyItem nla_mode_extend_items []

Detailed Description

Definition in file rna_nla.c.


Function Documentation

static void rna_api_nlatrack_strips ( BlenderRNA brna,
PropertyRNA cprop 
) [static]
void RNA_def_nla ( BlenderRNA brna)

Definition at line 638 of file rna_nla.c.

References rna_def_nlastrip(), and rna_def_nlatrack().

static void rna_def_nlastrip ( BlenderRNA brna) [static]
static void rna_def_nlatrack ( BlenderRNA brna) [static]

Variable Documentation

Initial value:
 {
    {NLASTRIP_MODE_REPLACE, "REPLACE", 0, "Replace", "Result strip replaces the accumulated results by amount specified by influence"},
    {NLASTRIP_MODE_ADD, "ADD", 0, "Add", "Weighted result of strip is added to the accumulated results"},
    {NLASTRIP_MODE_SUBTRACT, "SUBTRACT", 0, "Subtract", "Weighted result of strip is removed from the accumulated results"},
    {NLASTRIP_MODE_MULTIPLY, "MULITPLY", 0, "Multiply", "Weighted result of strip is multiplied with the accumulated results"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 359 of file rna_nla.c.

Referenced by rna_def_animdata().

Initial value:
 {
    {NLASTRIP_EXTEND_NOTHING, "NOTHING", 0, "Nothing", "Strip has no influence past its extents"},
    {NLASTRIP_EXTEND_HOLD, "HOLD", 0, "Hold", "Hold the first frame if no previous strips in track, and always hold last frame"},
    {NLASTRIP_EXTEND_HOLD_FORWARD, "HOLD_FORWARD", 0, "Hold Forward", "Only hold last frame"},
    {0, NULL, 0, NULL, NULL}}

Definition at line 365 of file rna_nla.c.

Referenced by rna_def_animdata().