Class TextVars
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TextVars
-
public class TextVars extends CFacade
Generated facet for DNA struct type 'TextVars'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__align
Field descriptor (offset) for struct member 'align'.static long[]
__DNA__FIELD__align_y
Field descriptor (offset) for struct member 'align_y'.static long[]
__DNA__FIELD__box_color
Field descriptor (offset) for struct member 'box_color'.static long[]
__DNA__FIELD__box_margin
Field descriptor (offset) for struct member 'box_margin'.static long[]
__DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.static long[]
__DNA__FIELD__shadow_color
Field descriptor (offset) for struct member 'shadow_color'.static long[]
__DNA__FIELD__text
Field descriptor (offset) for struct member 'text'.static long[]
__DNA__FIELD__text_blf_id
Field descriptor (offset) for struct member 'text_blf_id'.static long[]
__DNA__FIELD__text_font
Field descriptor (offset) for struct member 'text_font'.static long[]
__DNA__FIELD__text_size
Field descriptor (offset) for struct member 'text_size'.static long[]
__DNA__FIELD__wrap_width
Field descriptor (offset) for struct member 'wrap_width'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct TextVars.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description TextVars(long __address, Block __block, BlockTable __blockTable)
protected
TextVars(TextVars that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<TextVars>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.byte
getAlign()
Get method for struct member 'align'.byte
getAlign_y()
Get method for struct member 'align_y'.CArrayFacade<java.lang.Float>
getBox_color()
Get method for struct member 'box_color'.float
getBox_margin()
Get method for struct member 'box_margin'.CArrayFacade<java.lang.Float>
getColor()
Get method for struct member 'color'.byte
getFlag()
Get method for struct member 'flag'.CArrayFacade<java.lang.Float>
getLoc()
Get method for struct member 'loc'.CArrayFacade<java.lang.Float>
getShadow_color()
Get method for struct member 'shadow_color'.CArrayFacade<java.lang.Byte>
getText()
Get method for struct member 'text'.int
getText_blf_id()
Get method for struct member 'text_blf_id'.CPointer<VFont>
getText_font()
Get method for struct member 'text_font'.float
getText_size()
Get method for struct member 'text_size'.float
getWrap_width()
Get method for struct member 'wrap_width'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAlign(byte align)
Set method for struct member 'align'.void
setAlign_y(byte align_y)
Set method for struct member 'align_y'.void
setBox_color(CArrayFacade<java.lang.Float> box_color)
Set method for struct member 'box_color'.void
setBox_margin(float box_margin)
Set method for struct member 'box_margin'.void
setColor(CArrayFacade<java.lang.Float> color)
Set method for struct member 'color'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setLoc(CArrayFacade<java.lang.Float> loc)
Set method for struct member 'loc'.void
setShadow_color(CArrayFacade<java.lang.Float> shadow_color)
Set method for struct member 'shadow_color'.void
setText(CArrayFacade<java.lang.Byte> text)
Set method for struct member 'text'.void
setText_blf_id(int text_blf_id)
Set method for struct member 'text_blf_id'.void
setText_font(CPointer<VFont> text_font)
Set method for struct member 'text_font'.void
setText_size(float text_size)
Set method for struct member 'text_size'.void
setWrap_width(float wrap_width)
Set method for struct member 'wrap_width'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__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, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct TextVars.It is required when allocating a new block to store data for TextVars.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__text
public static final long[] __DNA__FIELD__text
Field descriptor (offset) for struct member 'text'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__text); CPointer<CArrayFacade<Byte>> p_text = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: 'text'
- Signature: 'char[512]'
- Actual Size (32bit/64bit): 512/512
-
__DNA__FIELD__text_font
public static final long[] __DNA__FIELD__text_font
Field descriptor (offset) for struct member 'text_font'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__text_font); CPointer<CPointer<VFont>> p_text_font = p.cast(new Class[]{CPointer.class, VFont.class});
Metadata
- Field: 'text_font'
- Signature: 'VFont*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__text_blf_id
public static final long[] __DNA__FIELD__text_blf_id
Field descriptor (offset) for struct member 'text_blf_id'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__text_blf_id); CPointer<Integer> p_text_blf_id = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'text_blf_id'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__text_size
public static final long[] __DNA__FIELD__text_size
Field descriptor (offset) for struct member 'text_size'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__text_size); CPointer<Float> p_text_size = p.cast(new Class[]{Float.class});
Metadata
- Field: 'text_size'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__color
public static final long[] __DNA__FIELD__color
Field descriptor (offset) for struct member 'color'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__color); CPointer<CArrayFacade<Float>> p_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'color'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__shadow_color
public static final long[] __DNA__FIELD__shadow_color
Field descriptor (offset) for struct member 'shadow_color'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__shadow_color); CPointer<CArrayFacade<Float>> p_shadow_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'shadow_color'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__box_color
public static final long[] __DNA__FIELD__box_color
Field descriptor (offset) for struct member 'box_color'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__box_color); CPointer<CArrayFacade<Float>> p_box_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'box_color'
- Signature: 'float[4]'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__loc
public static final long[] __DNA__FIELD__loc
Field descriptor (offset) for struct member 'loc'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__loc); CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'loc'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__wrap_width
public static final long[] __DNA__FIELD__wrap_width
Field descriptor (offset) for struct member 'wrap_width'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__wrap_width); CPointer<Float> p_wrap_width = p.cast(new Class[]{Float.class});
Metadata
- Field: 'wrap_width'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__box_margin
public static final long[] __DNA__FIELD__box_margin
Field descriptor (offset) for struct member 'box_margin'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__box_margin); CPointer<Float> p_box_margin = p.cast(new Class[]{Float.class});
Metadata
- Field: 'box_margin'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__align
public static final long[] __DNA__FIELD__align
Field descriptor (offset) for struct member 'align'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__align); CPointer<Byte> p_align = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'align'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__align_y
public static final long[] __DNA__FIELD__align_y
Field descriptor (offset) for struct member 'align_y'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD__align_y); CPointer<Byte> p_align_y = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'align_y'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
TextVars textvars = ...; CPointer<Object> p = textvars.__dna__addressof(TextVars.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[5]'
- Actual Size (32bit/64bit): 5/5
-
-
Constructor Detail
-
TextVars
public TextVars(long __address, Block __block, BlockTable __blockTable)
-
TextVars
protected TextVars(TextVars that)
-
-
Method Detail
-
getText
public CArrayFacade<java.lang.Byte> getText() throws java.io.IOException
Get method for struct member 'text'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text
-
setText
public void setText(CArrayFacade<java.lang.Byte> text) throws java.io.IOException
Set method for struct member 'text'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text
-
getText_font
public CPointer<VFont> getText_font() throws java.io.IOException
Get method for struct member 'text_font'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_font
-
setText_font
public void setText_font(CPointer<VFont> text_font) throws java.io.IOException
Set method for struct member 'text_font'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_font
-
getText_blf_id
public int getText_blf_id() throws java.io.IOException
Get method for struct member 'text_blf_id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_blf_id
-
setText_blf_id
public void setText_blf_id(int text_blf_id) throws java.io.IOException
Set method for struct member 'text_blf_id'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_blf_id
-
getText_size
public float getText_size() throws java.io.IOException
Get method for struct member 'text_size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_size
-
setText_size
public void setText_size(float text_size) throws java.io.IOException
Set method for struct member 'text_size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__text_size
-
getColor
public CArrayFacade<java.lang.Float> getColor() throws java.io.IOException
Get method for struct member 'color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
setColor
public void setColor(CArrayFacade<java.lang.Float> color) throws java.io.IOException
Set method for struct member 'color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__color
-
getShadow_color
public CArrayFacade<java.lang.Float> getShadow_color() throws java.io.IOException
Get method for struct member 'shadow_color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shadow_color
-
setShadow_color
public void setShadow_color(CArrayFacade<java.lang.Float> shadow_color) throws java.io.IOException
Set method for struct member 'shadow_color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__shadow_color
-
getBox_color
public CArrayFacade<java.lang.Float> getBox_color() throws java.io.IOException
Get method for struct member 'box_color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__box_color
-
setBox_color
public void setBox_color(CArrayFacade<java.lang.Float> box_color) throws java.io.IOException
Set method for struct member 'box_color'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__box_color
-
getLoc
public CArrayFacade<java.lang.Float> getLoc() throws java.io.IOException
Get method for struct member 'loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__loc
-
setLoc
public void setLoc(CArrayFacade<java.lang.Float> loc) throws java.io.IOException
Set method for struct member 'loc'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__loc
-
getWrap_width
public float getWrap_width() throws java.io.IOException
Get method for struct member 'wrap_width'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrap_width
-
setWrap_width
public void setWrap_width(float wrap_width) throws java.io.IOException
Set method for struct member 'wrap_width'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__wrap_width
-
getBox_margin
public float getBox_margin() throws java.io.IOException
Get method for struct member 'box_margin'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__box_margin
-
setBox_margin
public void setBox_margin(float box_margin) throws java.io.IOException
Set method for struct member 'box_margin'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__box_margin
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getAlign
public byte getAlign() throws java.io.IOException
Get method for struct member 'align'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__align
-
setAlign
public void setAlign(byte align) throws java.io.IOException
Set method for struct member 'align'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__align
-
getAlign_y
public byte getAlign_y() throws java.io.IOException
Get method for struct member 'align_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__align_y
-
setAlign_y
public void setAlign_y(byte align_y) throws java.io.IOException
Set method for struct member 'align_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__align_y
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
-