Package org.blender.dna
Class MLoopUV
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.MLoopUV
-
public class MLoopUV extends CFacade
Generated facet for DNA struct type 'MLoopUV'.Class Documentation
Java .Blend
Elements of the UV map. Each element contains the UV coordinates for a point of the corresponding loop entry. Thus for each loopuv entry there exists a loop entry with the same index.Blender Source Code
UV coordinate for a polygon face & flag for selection & other options.
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__uv
Field descriptor (offset) for struct member 'uv'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct MLoopUV.-
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 MLoopUV(long __address, Block __block, BlockTable __blockTable)
protected
MLoopUV(MLoopUV that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<MLoopUV>
__io__addressof()
Instantiates a pointer on this instance.int
getFlag()
Get method for struct member 'flag'.CArrayFacade<java.lang.Float>
getUv()
Get method for struct member 'uv'.void
setFlag(int flag)
Set method for struct member 'flag'.void
setUv(CArrayFacade<java.lang.Float> uv)
Set method for struct member 'uv'.-
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 MLoopUV.It is required when allocating a new block to store data for MLoopUV.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__uv
public static final long[] __DNA__FIELD__uv
Field descriptor (offset) for struct member 'uv'.Field Documentation
Java .Blend
The 2D UV coordinates.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MLoopUV mloopuv = ...; CPointer<Object> p = mloopuv.__dna__addressof(MLoopUV.__DNA__FIELD__uv); CPointer<CArrayFacade<Float>> p_uv = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'uv'
- Signature: 'float[2]'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__flag
public static final long[] __DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.Field Documentation
Java .Blend
Values:
MLOOPUV_EDGESEL = (1 << 0), MLOOPUV_VERTSEL = (1 << 1), MLOOPUV_PINNED = (1 << 2),
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
MLoopUV mloopuv = ...; CPointer<Object> p = mloopuv.__dna__addressof(MLoopUV.__DNA__FIELD__flag); CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
MLoopUV
public MLoopUV(long __address, Block __block, BlockTable __blockTable)
-
MLoopUV
protected MLoopUV(MLoopUV that)
-
-
Method Detail
-
getUv
public CArrayFacade<java.lang.Float> getUv() throws java.io.IOException
Get method for struct member 'uv'.Field Documentation
Java .Blend
The 2D UV coordinates.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv
-
setUv
public void setUv(CArrayFacade<java.lang.Float> uv) throws java.io.IOException
Set method for struct member 'uv'.Field Documentation
Java .Blend
The 2D UV coordinates.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__uv
-
getFlag
public int getFlag() throws java.io.IOException
Get method for struct member 'flag'.Field Documentation
Java .Blend
Values:
MLOOPUV_EDGESEL = (1 << 0), MLOOPUV_VERTSEL = (1 << 1), MLOOPUV_PINNED = (1 << 2),
- 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'.Field Documentation
Java .Blend
Values:
MLOOPUV_EDGESEL = (1 << 0), MLOOPUV_VERTSEL = (1 << 1), MLOOPUV_PINNED = (1 << 2),
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
-