unreal.DatasmithFBXSceneAnimCurve

class unreal.DatasmithFBXSceneAnimCurve(dsid=0, type=DatasmithFBXSceneAnimationCurveType.TRANSLATION, component=DatasmithFBXSceneAnimationCurveComponent.X, points=[], curve=None)

Bases: unreal.StructBase

Represents an individual animation curve of a transform property (like translation X). Has multiple points, representing animation key frames. Also has an individual DatasmithID (DSID) that can be used to track the curve through the VRED export process.

C++ Source:

  • Plugin: DatasmithFBXImporter
  • Module: DatasmithFBXImporter
  • File: DatasmithFBXScene.h

Editor Properties: (see get_editor_property/set_editor_property)

  • component (DatasmithFBXSceneAnimationCurveComponent): [Read-Write] Component
  • curve (CurveFloat): [Read-Write] Curve
  • dsid (int32): [Read-Write] ID of the curve pulled from the FBX. Since VRED doesn’t emit any info about the curves in the FBX file, we use this to figure out which block the curve belongs to
  • points (Array(DatasmithFBXSceneAnimPoint)): [Read-Write] Points
  • type (DatasmithFBXSceneAnimationCurveType): [Read-Write] Type
component

(DatasmithFBXSceneAnimationCurveComponent) – [Read-Write] Component

curve

(CurveFloat) – [Read-Write] Curve

dsid

(int32) – [Read-Write] ID of the curve pulled from the FBX. Since VRED doesn’t emit any info about the curves in the FBX file, we use this to figure out which block the curve belongs to

points

(Array(DatasmithFBXSceneAnimPoint)) – [Read-Write] Points

type

(DatasmithFBXSceneAnimationCurveType) – [Read-Write] Type