Class TexMapping
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.TexMapping
-
public class TexMapping extends CFacade
Generated facet for DNA struct type 'TexMapping'.Class Documentation
Blender Source Code
Used for mapping and texture nodes.
-
-
Field Summary
Fields Modifier and Type Field 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.-
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 TexMapping(long __address, Block __block, BlockTable __blockTable)
protected
TexMapping(TexMapping that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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'.-
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 TexMapping.It is required when allocating a new block to store data for TexMapping.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__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:
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});
Metadata
- Field: 'loc'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__rot
public static final long[] __DNA__FIELD__rot
Field descriptor (offset) for struct member 'rot'.Field Documentation
Blender Source Code
Rotation in radians.
Pointer Arithmetics
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});
Metadata
- Field: 'rot'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__size
public static final long[] __DNA__FIELD__size
Field descriptor (offset) for struct member 'size'.Pointer Arithmetics
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});
Metadata
- Field: 'size'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__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:
TexMapping texmapping = ...; CPointer<Object> p = texmapping.__dna__addressof(TexMapping.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__projx
public static final long[] __DNA__FIELD__projx
Field descriptor (offset) for struct member 'projx'.Pointer Arithmetics
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});
Metadata
- Field: 'projx'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__projy
public static final long[] __DNA__FIELD__projy
Field descriptor (offset) for struct member 'projy'.Pointer Arithmetics
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});
Metadata
- Field: 'projy'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__projz
public static final long[] __DNA__FIELD__projz
Field descriptor (offset) for struct member 'projz'.Pointer Arithmetics
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});
Metadata
- Field: 'projz'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__mapping
public static final long[] __DNA__FIELD__mapping
Field descriptor (offset) for struct member 'mapping'.Pointer Arithmetics
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});
Metadata
- Field: 'mapping'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Pointer Arithmetics
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});
Metadata
- Field: 'type'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat
public static final long[] __DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.Pointer Arithmetics
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});
Metadata
- Field: 'mat'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__min
public static final long[] __DNA__FIELD__min
Field descriptor (offset) for struct member 'min'.Field Documentation
Blender Python API
Minimum value for clippingPointer Arithmetics
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});
Metadata
- Field: 'min'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__max
public static final long[] __DNA__FIELD__max
Field descriptor (offset) for struct member 'max'.Field Documentation
Blender Python API
Maximum value for clippingPointer Arithmetics
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});
Metadata
- Field: 'max'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__ob
public static final long[] __DNA__FIELD__ob
Field descriptor (offset) for struct member 'ob'.Pointer Arithmetics
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});
Metadata
- Field: 'ob'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
TexMapping
public TexMapping(long __address, Block __block, BlockTable __blockTable)
-
TexMapping
protected TexMapping(TexMapping that)
-
-
Method Detail
-
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
-
getRot
public CArrayFacade<java.lang.Float> getRot() throws java.io.IOException
Get method for struct member 'rot'.Field Documentation
Blender Source Code
Rotation in radians.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rot
-
setRot
public void setRot(CArrayFacade<java.lang.Float> rot) throws java.io.IOException
Set method for struct member 'rot'.Field Documentation
Blender Source Code
Rotation in radians.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__rot
-
getSize
public CArrayFacade<java.lang.Float> getSize() throws java.io.IOException
Get method for struct member 'size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__size
-
setSize
public void setSize(CArrayFacade<java.lang.Float> size) throws java.io.IOException
Set method for struct member 'size'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__size
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(int flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getProjx
public byte getProjx() throws java.io.IOException
Get method for struct member 'projx'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projx
-
setProjx
public void setProjx(byte projx) throws java.io.IOException
Set method for struct member 'projx'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projx
-
getProjy
public byte getProjy() throws java.io.IOException
Get method for struct member 'projy'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projy
-
setProjy
public void setProjy(byte projy) throws java.io.IOException
Set method for struct member 'projy'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projy
-
getProjz
public byte getProjz() throws java.io.IOException
Get method for struct member 'projz'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projz
-
setProjz
public void setProjz(byte projz) throws java.io.IOException
Set method for struct member 'projz'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__projz
-
getMapping
public byte getMapping() throws java.io.IOException
Get method for struct member 'mapping'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mapping
-
setMapping
public void setMapping(byte mapping) throws java.io.IOException
Set method for struct member 'mapping'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mapping
-
getType
public int getType() throws java.io.IOException
Get method for struct member 'type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(int type) throws java.io.IOException
Set method for struct member 'type'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
getMat
public CArrayFacade<CArrayFacade<java.lang.Float>> getMat() throws java.io.IOException
Get method for struct member 'mat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
setMat
public void setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat) throws java.io.IOException
Set method for struct member 'mat'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
getMin
public CArrayFacade<java.lang.Float> getMin() throws java.io.IOException
Get method for struct member 'min'.Field Documentation
Blender Python API
Minimum value for clipping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__min
-
setMin
public void setMin(CArrayFacade<java.lang.Float> min) throws java.io.IOException
Set method for struct member 'min'.Field Documentation
Blender Python API
Minimum value for clipping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__min
-
getMax
public CArrayFacade<java.lang.Float> getMax() throws java.io.IOException
Get method for struct member 'max'.Field Documentation
Blender Python API
Maximum value for clipping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__max
-
setMax
public void setMax(CArrayFacade<java.lang.Float> max) throws java.io.IOException
Set method for struct member 'max'.Field Documentation
Blender Python API
Maximum value for clipping- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__max
-
getOb
public CPointer<BlenderObject> getOb() throws java.io.IOException
Get method for struct member 'ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ob
-
setOb
public void setOb(CPointer<BlenderObject> ob) throws java.io.IOException
Set method for struct member 'ob'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__ob
-
__io__addressof
public CPointer<TexMapping> __io__addressof()
Instantiates a pointer on this instance.
-
-