public class FCurve extends CFacade
'Function-Curve' - defines values over time for a given setting (fcu)
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__active_keyframe_index
Field descriptor (offset) for struct member 'active_keyframe_index'.
|
static long[] |
__DNA__FIELD__array_index
Field descriptor (offset) for struct member 'array_index'.
|
static long[] |
__DNA__FIELD__auto_smoothing
Field descriptor (offset) for struct member 'auto_smoothing'.
|
static long[] |
__DNA__FIELD__bezt
Field descriptor (offset) for struct member 'bezt'.
|
static long[] |
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.
|
static long[] |
__DNA__FIELD__color_mode
Field descriptor (offset) for struct member 'color_mode'.
|
static long[] |
__DNA__FIELD__curval
Field descriptor (offset) for struct member 'curval'.
|
static long[] |
__DNA__FIELD__driver
Field descriptor (offset) for struct member 'driver'.
|
static long[] |
__DNA__FIELD__extend
Field descriptor (offset) for struct member 'extend'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__fpt
Field descriptor (offset) for struct member 'fpt'.
|
static long[] |
__DNA__FIELD__grp
Field descriptor (offset) for struct member 'grp'.
|
static long[] |
__DNA__FIELD__modifiers
Field descriptor (offset) for struct member 'modifiers'.
|
static long[] |
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.
|
static long[] |
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.
|
static long[] |
__DNA__FIELD__prev_norm_factor
Field descriptor (offset) for struct member 'prev_norm_factor'.
|
static long[] |
__DNA__FIELD__prev_offset
Field descriptor (offset) for struct member 'prev_offset'.
|
static long[] |
__DNA__FIELD__rna_path
Field descriptor (offset) for struct member 'rna_path'.
|
static long[] |
__DNA__FIELD__totvert
Field descriptor (offset) for struct member 'totvert'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct FCurve.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
protected |
FCurve(FCurve that) |
|
FCurve(long __address,
Block __block,
BlockTable __blockTable) |
Modifier and Type | Method and Description |
---|---|
CPointer<FCurve> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
int |
getActive_keyframe_index()
Get method for struct member 'active_keyframe_index'.
|
int |
getArray_index()
Get method for struct member 'array_index'.
|
byte |
getAuto_smoothing()
Get method for struct member 'auto_smoothing'.
|
CPointer<BezTriple> |
getBezt()
Get method for struct member 'bezt'.
|
int |
getColor_mode()
Get method for struct member 'color_mode'.
|
CArrayFacade<java.lang.Float> |
getColor()
Get method for struct member 'color'.
|
float |
getCurval()
Get method for struct member 'curval'.
|
CPointer<ChannelDriver> |
getDriver()
Get method for struct member 'driver'.
|
short |
getExtend()
Get method for struct member 'extend'.
|
short |
getFlag()
Get method for struct member 'flag'.
|
CPointer<FPoint> |
getFpt()
Get method for struct member 'fpt'.
|
CPointer<bActionGroup> |
getGrp()
Get method for struct member 'grp'.
|
ListBase |
getModifiers()
Get method for struct member 'modifiers'.
|
CPointer<FCurve> |
getNext()
Get method for struct member 'next'.
|
float |
getPrev_norm_factor()
Get method for struct member 'prev_norm_factor'.
|
float |
getPrev_offset()
Get method for struct member 'prev_offset'.
|
CPointer<FCurve> |
getPrev()
Get method for struct member 'prev'.
|
CPointer<java.lang.Byte> |
getRna_path()
Get method for struct member 'rna_path'.
|
int |
getTotvert()
Get method for struct member 'totvert'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setActive_keyframe_index(int active_keyframe_index)
Set method for struct member 'active_keyframe_index'.
|
void |
setArray_index(int array_index)
Set method for struct member 'array_index'.
|
void |
setAuto_smoothing(byte auto_smoothing)
Set method for struct member 'auto_smoothing'.
|
void |
setBezt(CPointer<BezTriple> bezt)
Set method for struct member 'bezt'.
|
void |
setColor_mode(int color_mode)
Set method for struct member 'color_mode'.
|
void |
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.
|
void |
setCurval(float curval)
Set method for struct member 'curval'.
|
void |
setDriver(CPointer<ChannelDriver> driver)
Set method for struct member 'driver'.
|
void |
setExtend(short extend)
Set method for struct member 'extend'.
|
void |
setFlag(short flag)
Set method for struct member 'flag'.
|
void |
setFpt(CPointer<FPoint> fpt)
Set method for struct member 'fpt'.
|
void |
setGrp(CPointer<bActionGroup> grp)
Set method for struct member 'grp'.
|
void |
setModifiers(ListBase modifiers)
Set method for struct member 'modifiers'.
|
void |
setNext(CPointer<FCurve> next)
Set method for struct member 'next'.
|
void |
setPrev_norm_factor(float prev_norm_factor)
Set method for struct member 'prev_norm_factor'.
|
void |
setPrev_offset(float prev_offset)
Set method for struct member 'prev_offset'.
|
void |
setPrev(CPointer<FCurve> prev)
Set method for struct member 'prev'.
|
void |
setRna_path(CPointer<java.lang.Byte> rna_path)
Set method for struct member 'rna_path'.
|
void |
setTotvert(int totvert)
Set method for struct member 'totvert'.
|
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof
public static final int __DNA__SDNA_INDEX
It is required when allocating a new block to store data for FCurve.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__next
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__next); CPointer<CPointer<FCurve>> p_next = p.cast(new Class[]{CPointer.class, FCurve.class});
public static final long[] __DNA__FIELD__prev
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__prev); CPointer<CPointer<FCurve>> p_prev = p.cast(new Class[]{CPointer.class, FCurve.class});
public static final long[] __DNA__FIELD__grp
group Group that F-Curve belongs to.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__grp); CPointer<CPointer<bActionGroup>> p_grp = p.cast(new Class[]{CPointer.class, bActionGroup.class});
public static final long[] __DNA__FIELD__driver
driver settings Only valid for drivers (i.e. stored in AnimData
not Actions).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__driver); CPointer<CPointer<ChannelDriver>> p_driver = p.cast(new Class[]{CPointer.class, ChannelDriver.class});
public static final long[] __DNA__FIELD__modifiers
evaluation settings FCurve
Modifiers.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__modifiers); CPointer<ListBase> p_modifiers = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__bezt
motion data User-editable keyframes (array).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__bezt); CPointer<CPointer<BezTriple>> p_bezt = p.cast(new Class[]{CPointer.class, BezTriple.class});
public static final long[] __DNA__FIELD__fpt
'baked/imported' motion samples (array).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__fpt); CPointer<CPointer<FPoint>> p_fpt = p.cast(new Class[]{CPointer.class, FPoint.class});
public static final long[] __DNA__FIELD__totvert
Total number of points which define the curve (i.e. size of arrays in FPoints).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__totvert); CPointer<Integer> p_totvert = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__active_keyframe_index
Index of active keyframe in bezt
for numerical editing in the interface. A value of FCURVE_ACTIVE_KEYFRAME_NONE
indicates that the FCurve
has no active keyframe.
Do not access directly, use #BKE_fcurve_active_keyframe_index() and #BKE_fcurve_active_keyframe_set() instead.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__active_keyframe_index); CPointer<Integer> p_active_keyframe_index = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__curval
value cache + settings Value stored from last time curve was evaluated (not threadsafe, debug display only!).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__curval); CPointer<Float> p_curval = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__flag
User-editable settings for this curve.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__extend
Value-extending mode for this curve (does not cover).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__extend); CPointer<Short> p_extend = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__auto_smoothing
Auto-handle smoothing mode.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__auto_smoothing); CPointer<Byte> p_auto_smoothing = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__array_index
is an array, use this to access the array index.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__array_index); CPointer<Integer> p_array_index = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__rna_path
RNA-path to resolve data-access, see: #RNA_path_resolve_property.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__rna_path); CPointer<CPointer<Byte>> p_rna_path = p.cast(new Class[]{CPointer.class, Byte.class});
public static final long[] __DNA__FIELD__color_mode
curve coloring (for editor) Coloring method to use (eFCurve_Coloring).
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__color_mode); CPointer<Integer> p_color_mode = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__color
The last-color this curve took.
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__prev_norm_factor
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__prev_norm_factor); CPointer<Float> p_prev_norm_factor = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__prev_offset
This is how you get a reference on the corresponding field in the struct:
FCurve fcurve = ...; CPointer<Object> p = fcurve.__dna__addressof(FCurve.__DNA__FIELD__prev_offset); CPointer<Float> p_prev_offset = p.cast(new Class[]{Float.class});
public FCurve(long __address, Block __block, BlockTable __blockTable)
protected FCurve(FCurve that)
public CPointer<FCurve> getNext() throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public void setNext(CPointer<FCurve> next) throws java.io.IOException
java.io.IOException
__DNA__FIELD__next
public CPointer<FCurve> getPrev() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public void setPrev(CPointer<FCurve> prev) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev
public CPointer<bActionGroup> getGrp() throws java.io.IOException
group Group that F-Curve belongs to.
java.io.IOException
__DNA__FIELD__grp
public void setGrp(CPointer<bActionGroup> grp) throws java.io.IOException
group Group that F-Curve belongs to.
java.io.IOException
__DNA__FIELD__grp
public CPointer<ChannelDriver> getDriver() throws java.io.IOException
driver settings Only valid for drivers (i.e. stored in AnimData
not Actions).
java.io.IOException
__DNA__FIELD__driver
public void setDriver(CPointer<ChannelDriver> driver) throws java.io.IOException
driver settings Only valid for drivers (i.e. stored in AnimData
not Actions).
java.io.IOException
__DNA__FIELD__driver
public ListBase getModifiers() throws java.io.IOException
evaluation settings FCurve
Modifiers.
java.io.IOException
__DNA__FIELD__modifiers
public void setModifiers(ListBase modifiers) throws java.io.IOException
evaluation settings FCurve
Modifiers.
java.io.IOException
__DNA__FIELD__modifiers
public CPointer<BezTriple> getBezt() throws java.io.IOException
motion data User-editable keyframes (array).
java.io.IOException
__DNA__FIELD__bezt
public void setBezt(CPointer<BezTriple> bezt) throws java.io.IOException
motion data User-editable keyframes (array).
java.io.IOException
__DNA__FIELD__bezt
public CPointer<FPoint> getFpt() throws java.io.IOException
'baked/imported' motion samples (array).
java.io.IOException
__DNA__FIELD__fpt
public void setFpt(CPointer<FPoint> fpt) throws java.io.IOException
'baked/imported' motion samples (array).
java.io.IOException
__DNA__FIELD__fpt
public int getTotvert() throws java.io.IOException
Total number of points which define the curve (i.e. size of arrays in FPoints).
java.io.IOException
__DNA__FIELD__totvert
public void setTotvert(int totvert) throws java.io.IOException
Total number of points which define the curve (i.e. size of arrays in FPoints).
java.io.IOException
__DNA__FIELD__totvert
public int getActive_keyframe_index() throws java.io.IOException
Index of active keyframe in bezt
for numerical editing in the interface. A value of FCURVE_ACTIVE_KEYFRAME_NONE
indicates that the FCurve
has no active keyframe.
Do not access directly, use #BKE_fcurve_active_keyframe_index() and #BKE_fcurve_active_keyframe_set() instead.
java.io.IOException
__DNA__FIELD__active_keyframe_index
public void setActive_keyframe_index(int active_keyframe_index) throws java.io.IOException
Index of active keyframe in bezt
for numerical editing in the interface. A value of FCURVE_ACTIVE_KEYFRAME_NONE
indicates that the FCurve
has no active keyframe.
Do not access directly, use #BKE_fcurve_active_keyframe_index() and #BKE_fcurve_active_keyframe_set() instead.
java.io.IOException
__DNA__FIELD__active_keyframe_index
public float getCurval() throws java.io.IOException
value cache + settings Value stored from last time curve was evaluated (not threadsafe, debug display only!).
java.io.IOException
__DNA__FIELD__curval
public void setCurval(float curval) throws java.io.IOException
value cache + settings Value stored from last time curve was evaluated (not threadsafe, debug display only!).
java.io.IOException
__DNA__FIELD__curval
public short getFlag() throws java.io.IOException
User-editable settings for this curve.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(short flag) throws java.io.IOException
User-editable settings for this curve.
java.io.IOException
__DNA__FIELD__flag
public short getExtend() throws java.io.IOException
Value-extending mode for this curve (does not cover).
java.io.IOException
__DNA__FIELD__extend
public void setExtend(short extend) throws java.io.IOException
Value-extending mode for this curve (does not cover).
java.io.IOException
__DNA__FIELD__extend
public byte getAuto_smoothing() throws java.io.IOException
Auto-handle smoothing mode.
java.io.IOException
__DNA__FIELD__auto_smoothing
public void setAuto_smoothing(byte auto_smoothing) throws java.io.IOException
Auto-handle smoothing mode.
java.io.IOException
__DNA__FIELD__auto_smoothing
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
java.io.IOException
__DNA__FIELD___pad
public int getArray_index() throws java.io.IOException
is an array, use this to access the array index.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.java.io.IOException
__DNA__FIELD__array_index
public void setArray_index(int array_index) throws java.io.IOException
is an array, use this to access the array index.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.
This may be negative (as it wasn't prevented in 2.91 and older). Currently it silently fails to resolve the data-path in this case.java.io.IOException
__DNA__FIELD__array_index
public CPointer<java.lang.Byte> getRna_path() throws java.io.IOException
RNA-path to resolve data-access, see: #RNA_path_resolve_property.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.java.io.IOException
__DNA__FIELD__rna_path
public void setRna_path(CPointer<java.lang.Byte> rna_path) throws java.io.IOException
RNA-path to resolve data-access, see: #RNA_path_resolve_property.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.
String look-ups for collection and custom-properties are escaped using #BLI_str_escape.java.io.IOException
__DNA__FIELD__rna_path
public int getColor_mode() throws java.io.IOException
curve coloring (for editor) Coloring method to use (eFCurve_Coloring).
java.io.IOException
__DNA__FIELD__color_mode
public void setColor_mode(int color_mode) throws java.io.IOException
curve coloring (for editor) Coloring method to use (eFCurve_Coloring).
java.io.IOException
__DNA__FIELD__color_mode
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
The last-color this curve took.
java.io.IOException
__DNA__FIELD__color
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
The last-color this curve took.
java.io.IOException
__DNA__FIELD__color
public float getPrev_norm_factor() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev_norm_factor
public void setPrev_norm_factor(float prev_norm_factor) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev_norm_factor
public float getPrev_offset() throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev_offset
public void setPrev_offset(float prev_offset) throws java.io.IOException
java.io.IOException
__DNA__FIELD__prev_offset