public class TexMapping extends CFacade
used for mapping and texture nodes. note: rot is now in radians
Modifier and Type | Field and Description |
---|---|
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__mapping
Field descriptor (offset) for struct member 'mapping'.
|
static long[] |
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.
|
static long[] |
__DNA__FIELD__max
Field descriptor (offset) for struct member 'max'.
|
static long[] |
__DNA__FIELD__min
Field descriptor (offset) for struct member 'min'.
|
static long[] |
__DNA__FIELD__ob
Field descriptor (offset) for struct member 'ob'.
|
static long[] |
__DNA__FIELD__projx
Field descriptor (offset) for struct member 'projx'.
|
static long[] |
__DNA__FIELD__projy
Field descriptor (offset) for struct member 'projy'.
|
static long[] |
__DNA__FIELD__projz
Field descriptor (offset) for struct member 'projz'.
|
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__type
Field descriptor (offset) for struct member 'type'.
|
static int |
__DNA__SDNA_INDEX
This is the sdna index of the struct TexMapping.
|
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
Modifier | Constructor and Description |
---|---|
|
TexMapping(long __address,
Block __block,
BlockTable __blockTable) |
protected |
TexMapping(TexMapping that) |
Modifier and Type | Method and Description |
---|---|
CPointer<TexMapping> |
__io__addressof()
Instantiates a pointer on this instance.
|
int |
getFlag()
Get method for struct member 'flag'.
|
CArrayFacade<java.lang.Float> |
getLoc()
Get method for struct member 'loc'.
|
byte |
getMapping()
Get method for struct member 'mapping'.
|
CArrayFacade<CArrayFacade<java.lang.Float>> |
getMat()
Get method for struct member 'mat'.
|
CArrayFacade<java.lang.Float> |
getMax()
Get method for struct member 'max'.
|
CArrayFacade<java.lang.Float> |
getMin()
Get method for struct member 'min'.
|
CPointer<BlenderObject> |
getOb()
Get method for struct member 'ob'.
|
byte |
getProjx()
Get method for struct member 'projx'.
|
byte |
getProjy()
Get method for struct member 'projy'.
|
byte |
getProjz()
Get method for struct member 'projz'.
|
CArrayFacade<java.lang.Float> |
getRot()
Get method for struct member 'rot'.
|
CArrayFacade<java.lang.Float> |
getSize()
Get method for struct member 'size'.
|
int |
getType()
Get method for struct member 'type'.
|
void |
setFlag(int flag)
Set method for struct member 'flag'.
|
void |
setLoc(CArrayFacade<java.lang.Float> loc)
Set method for struct member 'loc'.
|
void |
setMapping(byte mapping)
Set method for struct member 'mapping'.
|
void |
setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat)
Set method for struct member 'mat'.
|
void |
setMax(CArrayFacade<java.lang.Float> max)
Set method for struct member 'max'.
|
void |
setMin(CArrayFacade<java.lang.Float> min)
Set method for struct member 'min'.
|
void |
setOb(CPointer<BlenderObject> ob)
Set method for struct member 'ob'.
|
void |
setProjx(byte projx)
Set method for struct member 'projx'.
|
void |
setProjy(byte projy)
Set method for struct member 'projy'.
|
void |
setProjz(byte projz)
Set method for struct member 'projz'.
|
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 |
setType(int type)
Set method for struct member 'type'.
|
__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 TexMapping.
org.cakelab.blender.io.dna.internal.StructDNA}
,
org.cakelab.blender.io.block.BlockTable#allocate}
,
Constant Field Valuespublic static final long[] __DNA__FIELD__loc
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__loc); CPointer<CArrayFacade<Float>> p_loc = 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:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__rot); CPointer<CArrayFacade<Float>> p_rot = 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:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__size); CPointer<CArrayFacade<Float>> p_size = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__flag
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__projx
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__projx); CPointer<Byte> p_projx = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__projy
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__projy); CPointer<Byte> p_projy = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__projz
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__projz); CPointer<Byte> p_projz = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__mapping
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__mapping); CPointer<Byte> p_mapping = p.cast(new Class[]{Byte.class});
public static final long[] __DNA__FIELD__type
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__type); CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
public static final long[] __DNA__FIELD__mat
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__mat); CPointer<CArrayFacade<CArrayFacade<Float>>> p_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__min
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__min); CPointer<CArrayFacade<Float>> p_min = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__max
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__max); CPointer<CArrayFacade<Float>> p_max = p.cast(new Class[]{CArrayFacade.class, Float.class});
public static final long[] __DNA__FIELD__ob
This is how you get a reference on the corresponding field in the struct:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__ob); CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
public TexMapping(long __address, Block __block, BlockTable __blockTable)
protected TexMapping(TexMapping that)
public CArrayFacade<java.lang.Float> getLoc() throws java.io.IOException
java.io.IOException
__DNA__FIELD__loc
public void setLoc(CArrayFacade<java.lang.Float> loc) throws java.io.IOException
java.io.IOException
__DNA__FIELD__loc
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 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 int getFlag() throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public void setFlag(int flag) throws java.io.IOException
java.io.IOException
__DNA__FIELD__flag
public byte getProjx() throws java.io.IOException
java.io.IOException
__DNA__FIELD__projx
public void setProjx(byte projx) throws java.io.IOException
java.io.IOException
__DNA__FIELD__projx
public byte getProjy() throws java.io.IOException
java.io.IOException
__DNA__FIELD__projy
public void setProjy(byte projy) throws java.io.IOException
java.io.IOException
__DNA__FIELD__projy
public byte getProjz() throws java.io.IOException
java.io.IOException
__DNA__FIELD__projz
public void setProjz(byte projz) throws java.io.IOException
java.io.IOException
__DNA__FIELD__projz
public byte getMapping() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mapping
public void setMapping(byte mapping) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mapping
public int getType() throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public void setType(int type) throws java.io.IOException
java.io.IOException
__DNA__FIELD__type
public CArrayFacade<CArrayFacade<java.lang.Float>> getMat() throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public void setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat) throws java.io.IOException
java.io.IOException
__DNA__FIELD__mat
public CArrayFacade<java.lang.Float> getMin() throws java.io.IOException
java.io.IOException
__DNA__FIELD__min
public void setMin(CArrayFacade<java.lang.Float> min) throws java.io.IOException
java.io.IOException
__DNA__FIELD__min
public CArrayFacade<java.lang.Float> getMax() throws java.io.IOException
java.io.IOException
__DNA__FIELD__max
public void setMax(CArrayFacade<java.lang.Float> max) throws java.io.IOException
java.io.IOException
__DNA__FIELD__max
public CPointer<BlenderObject> getOb() throws java.io.IOException
java.io.IOException
__DNA__FIELD__ob
public void setOb(CPointer<BlenderObject> ob) throws java.io.IOException
java.io.IOException
__DNA__FIELD__ob
public CPointer<TexMapping> __io__addressof()