Class 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 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 clipping

        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__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 clipping

        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__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
      • 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
      • __io__addressof

        public CPointer<TexMapping> __io__addressof()
        Instantiates a pointer on this instance.