public class MetaBall extends CFacade
Modifier and Type | Field and Description |
---|---|
static long[] |
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.
|
static long[] |
__DNA__FIELD__adt
Field descriptor (offset) for struct member 'adt'.
|
static long[] |
__DNA__FIELD__batch_cache
Field descriptor (offset) for struct member 'batch_cache'.
|
static long[] |
__DNA__FIELD__disp
Field descriptor (offset) for struct member 'disp'.
|
static long[] |
__DNA__FIELD__editelems
Field descriptor (offset) for struct member 'editelems'.
|
static long[] |
__DNA__FIELD__elems
Field descriptor (offset) for struct member 'elems'.
|
static long[] |
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.
|
static long[] |
__DNA__FIELD__flag2
Field descriptor (offset) for struct member 'flag2'.
|
static long[] |
__DNA__FIELD__id
Field descriptor (offset) for struct member 'id'.
|
static long[] |
__DNA__FIELD__ipo
Deprecated.
Deprecated
Pointer ArithmeticsThis is how you get a reference on the corresponding field in the struct: MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class}); Metadata
|
static long[] |
__DNA__FIELD__lastelem
Field descriptor (offset) for struct member 'lastelem'.
|
static long[] |
__DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.
|
static long[] |
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.
|
static long[] |
__DNA__FIELD__needs_flush_to_id
Field descriptor (offset) for struct member 'needs_flush_to_id'.
|
static long[] |
__DNA__FIELD__rendersize
Field descriptor (offset) for struct member 'rendersize'.
|
static long[] |
__DNA__FIELD__rot
Field descriptor (offset) for struct member 'rot'.
|
static long[] |
__DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.
|
static long[] |
__DNA__FIELD__texflag
Field descriptor (offset) for struct member 'texflag'.
|
static long[] |
__DNA__FIELD__thresh
Field descriptor (offset) for struct member 'thresh'.
|
static long[] |
__DNA__FIELD__totcol
Field descriptor (offset) for struct member 'totcol'.
|
static long[] |
__DNA__FIELD__wiresize
Field descriptor (offset) for struct member 'wiresize'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct MetaBall.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
MetaBall(long __address,
Block __block,
BlockTable __blockTable) |
protected |
MetaBall(MetaBall that) |
Modifier and Type | Method and Description |
---|---|
CPointer<MetaBall> |
__io__addressof()
Instantiates a pointer on this instance.
|
CArrayFacade<java.lang.Byte> |
get_pad()
Get method for struct member '_pad'.
|
CPointer<AnimData> |
getAdt()
Get method for struct member 'adt'.
|
CPointer<java.lang.Object> |
getBatch_cache()
Get method for struct member 'batch_cache'.
|
ListBase |
getDisp()
Get method for struct member 'disp'.
|
CPointer<ListBase> |
getEditelems()
Get method for struct member 'editelems'.
|
ListBase |
getElems()
Get method for struct member 'elems'.
|
byte |
getFlag()
Get method for struct member 'flag'.
|
byte |
getFlag2()
Get method for struct member 'flag2'.
|
ID |
getId()
Get method for struct member 'id'.
|
CPointer<Ipo> |
getIpo()
Deprecated.
Deprecated
|
CPointer<MetaElem> |
getLastelem()
Get method for struct member 'lastelem'.
|
CArrayFacade<java.lang.Float> |
getLoc()
Get method for struct member 'loc'.
|
CPointer<CPointer<Material>> |
getMat()
Get method for struct member 'mat'.
|
byte |
getNeeds_flush_to_id()
Get method for struct member 'needs_flush_to_id'.
|
float |
getRendersize()
Get method for struct member 'rendersize'.
|
CArrayFacade<java.lang.Float> |
getRot()
Get method for struct member 'rot'.
|
CArrayFacade<java.lang.Float> |
getSize()
Get method for struct member 'size'.
|
short |
getTexflag()
Get method for struct member 'texflag'.
|
float |
getThresh()
Get method for struct member 'thresh'.
|
short |
getTotcol()
Get method for struct member 'totcol'.
|
float |
getWiresize()
Get method for struct member 'wiresize'.
|
void |
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.
|
void |
setAdt(CPointer<AnimData> adt)
Set method for struct member 'adt'.
|
void |
setBatch_cache(CPointer<java.lang.Object> batch_cache)
Set method for struct member 'batch_cache'.
|
void |
setDisp(ListBase disp)
Set method for struct member 'disp'.
|
void |
setEditelems(CPointer<ListBase> editelems)
Set method for struct member 'editelems'.
|
void |
setElems(ListBase elems)
Set method for struct member 'elems'.
|
void |
setFlag(byte flag)
Set method for struct member 'flag'.
|
void |
setFlag2(byte flag2)
Set method for struct member 'flag2'.
|
void |
setId(ID id)
Set method for struct member 'id'.
|
void |
setIpo(CPointer<Ipo> ipo)
Deprecated.
Deprecated
|
void |
setLastelem(CPointer<MetaElem> lastelem)
Set method for struct member 'lastelem'.
|
void |
setLoc(CArrayFacade<java.lang.Float> loc)
Set method for struct member 'loc'.
|
void |
setMat(CPointer<CPointer<Material>> mat)
Set method for struct member 'mat'.
|
void |
setNeeds_flush_to_id(byte needs_flush_to_id)
Set method for struct member 'needs_flush_to_id'.
|
void |
setRendersize(float rendersize)
Set method for struct member 'rendersize'.
|
void |
setRot(CArrayFacade<java.lang.Float> rot)
Set method for struct member 'rot'.
|
void |
setSize(CArrayFacade<java.lang.Float> size)
Set method for struct member 'size'.
|
void |
setTexflag(short texflag)
Set method for struct member 'texflag'.
|
void |
setThresh(float thresh)
Set method for struct member 'thresh'.
|
void |
setTotcol(short totcol)
Set method for struct member 'totcol'.
|
void |
setWiresize(float wiresize)
Set method for struct member 'wiresize'.
|
__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 MetaBall.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__id
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__id); CPointer<ID> p_id = p.cast(new Class[]{ID.class});
public static final long[] __DNA__FIELD__adt
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__adt); CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
public static final long[] __DNA__FIELD__elems
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__elems); CPointer<ListBase> p_elems = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__disp
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__disp); CPointer<ListBase> p_disp = p.cast(new Class[]{ListBase.class});
public static final long[] __DNA__FIELD__editelems
Not saved in files, note we use pointer for editmode check.
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__editelems); CPointer<CPointer<ListBase>> p_editelems = p.cast(new Class[]{CPointer.class, ListBase.class});
public static final long[] __DNA__FIELD__ipo
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__ipo); CPointer<CPointer<Ipo>> p_ipo = p.cast(new Class[]{CPointer.class, Ipo.class});
Old animation system, deprecated for 2.5.
public static final long[] __DNA__FIELD__mat
material of the mother ball will define the material used of all others
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__mat); CPointer<CPointer<CPointer<Material>>> p_mat = p.cast(new Class[]{CPointer.class, CPointer.class, Material.class});
public static final long[] __DNA__FIELD__flag
Flag is enum for updates, flag2 is bitflags for settings.
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__flag2
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__flag2); CPointer<Byte> p_flag2 = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__totcol
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__totcol); CPointer<Short> p_totcol = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD__texflag
Used to store MB_AUTOSPACE.
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__texflag); CPointer<Short> p_texflag = p.cast(new Class[]{Short.class});
public static final long[] __DNA__FIELD___pad
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
public static final long[] __DNA__FIELD__needs_flush_to_id
ID
data is older than edit-mode data (TODO: move to edit-mode struct). Set #Main.is_memfile_undo_flush_needed when enabling.
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__needs_flush_to_id); CPointer<Byte> p_needs_flush_to_id = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__loc
texture space, copied as one block in editobject.c
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__loc); CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__size
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__size); CPointer<CArrayFacade<Float>> p_size = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__rot
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__rot); CPointer<CArrayFacade<Float>> p_rot = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__wiresize
Display and render res.
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__wiresize); CPointer<Float> p_wiresize = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__rendersize
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__rendersize); CPointer<Float> p_rendersize = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__thresh
bias elements to have an offset volume. mother ball changes will effect other objects thresholds, but these may also have their own thresh as an offset
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__thresh); CPointer<Float> p_thresh = p.cast(new Class[]{Float.class});
public static final long[] __DNA__FIELD__lastelem
used in editmode ListBase
edit_elems;
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__lastelem); CPointer<CPointer<MetaElem>> p_lastelem = p.cast(new Class[]{CPointer.class, MetaElem.class});
public static final long[] __DNA__FIELD__batch_cache
This is how you get a reference on the corresponding field in the struct:
MetaBall metaball = ...; CPointer<Object> p = metaball.__dna__addressof(MetaBall.__DNA__FIELD__batch_cache); CPointer<CPointer<Object>> p_batch_cache = p.cast(new Class[]{CPointer.class, Object.class});
public MetaBall(long __address, Block __block, BlockTable __blockTable)
protected MetaBall(MetaBall that)
public ID getId() throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public void setId(ID id) throws java.io.IOException
java.io.IOException
__DNA__FIELD__id
public CPointer<AnimData> getAdt() throws java.io.IOException
java.io.IOException
__DNA__FIELD__adt
public void setAdt(CPointer<AnimData> adt) throws java.io.IOException
java.io.IOException
__DNA__FIELD__adt
public ListBase getElems() throws java.io.IOException
java.io.IOException
__DNA__FIELD__elems
public void setElems(ListBase elems) throws java.io.IOException
java.io.IOException
__DNA__FIELD__elems
public ListBase getDisp() throws java.io.IOException
java.io.IOException
__DNA__FIELD__disp
public void setDisp(ListBase disp) throws java.io.IOException
java.io.IOException
__DNA__FIELD__disp
public CPointer<ListBase> getEditelems() throws java.io.IOException
Not saved in files, note we use pointer for editmode check.
java.io.IOException
__DNA__FIELD__editelems
public void setEditelems(CPointer<ListBase> editelems) throws java.io.IOException
Not saved in files, note we use pointer for editmode check.
java.io.IOException
__DNA__FIELD__editelems
public CPointer<Ipo> getIpo() throws java.io.IOException
Old animation system, deprecated for 2.5.
java.io.IOException
__DNA__FIELD__ipo
public void setIpo(CPointer<Ipo> ipo) throws java.io.IOException
Old animation system, deprecated for 2.5.
java.io.IOException
__DNA__FIELD__ipo
public CPointer<CPointer<Material>> getMat() throws java.io.IOException
material of the mother ball will define the material used of all others
java.io.IOException
__DNA__FIELD__mat
public void setMat(CPointer<CPointer<Material>> mat) throws java.io.IOException
material of the mother ball will define the material used of all others
java.io.IOException
__DNA__FIELD__mat
public byte getFlag() throws java.io.IOException
Flag is enum for updates, flag2 is bitflags for settings.
java.io.IOException
__DNA__FIELD__flag
public void setFlag(byte flag) throws java.io.IOException
Flag is enum for updates, flag2 is bitflags for settings.
java.io.IOException
__DNA__FIELD__flag
public byte getFlag2() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag2
public void setFlag2(byte flag2) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag2
public short getTotcol() throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcol
public void setTotcol(short totcol) throws java.io.IOException
java.io.IOException
__DNA__FIELD__totcol
public short getTexflag() throws java.io.IOException
Used to store MB_AUTOSPACE.
java.io.IOException
__DNA__FIELD__texflag
public void setTexflag(short texflag) throws java.io.IOException
Used to store MB_AUTOSPACE.
java.io.IOException
__DNA__FIELD__texflag
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 byte getNeeds_flush_to_id() throws java.io.IOException
ID
data is older than edit-mode data (TODO: move to edit-mode struct). Set #Main.is_memfile_undo_flush_needed when enabling.
java.io.IOException
__DNA__FIELD__needs_flush_to_id
public void setNeeds_flush_to_id(byte needs_flush_to_id) throws java.io.IOException
ID
data is older than edit-mode data (TODO: move to edit-mode struct). Set #Main.is_memfile_undo_flush_needed when enabling.
java.io.IOException
__DNA__FIELD__needs_flush_to_id
public CArrayFacade<java.lang.Float> getLoc() throws java.io.IOException
texture space, copied as one block in editobject.c
java.io.IOException
__DNA__FIELD__loc
public void setLoc(CArrayFacade<java.lang.Float> loc) throws java.io.IOException
texture space, copied as one block in editobject.c
java.io.IOException
__DNA__FIELD__loc
public CArrayFacade<java.lang.Float> getSize() throws java.io.IOException
java.io.IOException
__DNA__FIELD__size
public void setSize(CArrayFacade<java.lang.Float> size) throws java.io.IOException
java.io.IOException
__DNA__FIELD__size
public CArrayFacade<java.lang.Float> getRot() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rot
public void setRot(CArrayFacade<java.lang.Float> rot) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rot
public float getWiresize() throws java.io.IOException
Display and render res.
java.io.IOException
__DNA__FIELD__wiresize
public void setWiresize(float wiresize) throws java.io.IOException
Display and render res.
java.io.IOException
__DNA__FIELD__wiresize
public float getRendersize() throws java.io.IOException
java.io.IOException
__DNA__FIELD__rendersize
public void setRendersize(float rendersize) throws java.io.IOException
java.io.IOException
__DNA__FIELD__rendersize
public float getThresh() throws java.io.IOException
bias elements to have an offset volume. mother ball changes will effect other objects thresholds, but these may also have their own thresh as an offset
java.io.IOException
__DNA__FIELD__thresh
public void setThresh(float thresh) throws java.io.IOException
bias elements to have an offset volume. mother ball changes will effect other objects thresholds, but these may also have their own thresh as an offset
java.io.IOException
__DNA__FIELD__thresh
public CPointer<MetaElem> getLastelem() throws java.io.IOException
used in editmode ListBase
edit_elems;
java.io.IOException
__DNA__FIELD__lastelem
public void setLastelem(CPointer<MetaElem> lastelem) throws java.io.IOException
used in editmode ListBase
edit_elems;
java.io.IOException
__DNA__FIELD__lastelem
public CPointer<java.lang.Object> getBatch_cache() throws java.io.IOException
java.io.IOException
__DNA__FIELD__batch_cache
public void setBatch_cache(CPointer<java.lang.Object> batch_cache) throws java.io.IOException
java.io.IOException
__DNA__FIELD__batch_cache