Class LodLevel


  • public class LodLevel
    extends CFacade
    Generated facet for DNA struct type 'LodLevel'.

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct LodLevel.

        It is required when allocating a new block to store data for LodLevel.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__next

        public static final long[] __DNA__FIELD__next
        Field descriptor (offset) for struct member 'next'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__next);
         CPointer<CPointer<LodLevel>> p_next = p.cast(new Class[]{CPointer.class, LodLevel.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'LodLevel*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

        public static final long[] __DNA__FIELD__prev
        Field descriptor (offset) for struct member 'prev'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__prev);
         CPointer<CPointer<LodLevel>> p_prev = p.cast(new Class[]{CPointer.class, LodLevel.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'LodLevel*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__source

        public static final long[] __DNA__FIELD__source
        Field descriptor (offset) for struct member 'source'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__source);
         CPointer<CPointer<BlenderObject>> p_source = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'source'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__flags

        public static final long[] __DNA__FIELD__flags
        Field descriptor (offset) for struct member 'flags'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__flags);
         CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flags'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__distance

        public static final long[] __DNA__FIELD__distance
        Field descriptor (offset) for struct member 'distance'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__distance);
         CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad0

        public static final long[] __DNA__FIELD___pad0
        Field descriptor (offset) for struct member '_pad0'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD___pad0);
         CPointer<CArrayFacade<Byte>> p__pad0 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad0'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__obhysteresis

        public static final long[] __DNA__FIELD__obhysteresis
        Field descriptor (offset) for struct member 'obhysteresis'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         LodLevel lodlevel = ...;
         CPointer<Object> p = lodlevel.__dna__addressof(LodLevel.__DNA__FIELD__obhysteresis);
         CPointer<Integer> p_obhysteresis = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'obhysteresis'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • LodLevel

        public LodLevel​(long __address,
                        Block __block,
                        BlockTable __blockTable)
      • LodLevel

        protected LodLevel​(LodLevel that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<LodLevel> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<LodLevel> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getFlags

        public int getFlags()
                     throws java.io.IOException
        Get method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • setFlags

        public void setFlags​(int flags)
                      throws java.io.IOException
        Set method for struct member 'flags'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flags
      • getDistance

        public float getDistance()
                          throws java.io.IOException
        Get method for struct member 'distance'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance
      • setDistance

        public void setDistance​(float distance)
                         throws java.io.IOException
        Set method for struct member 'distance'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance
      • get_pad0

        public CArrayFacade<java.lang.Byte> get_pad0()
                                              throws java.io.IOException
        Get method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • set_pad0

        public void set_pad0​(CArrayFacade<java.lang.Byte> _pad0)
                      throws java.io.IOException
        Set method for struct member '_pad0'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad0
      • getObhysteresis

        public int getObhysteresis()
                            throws java.io.IOException
        Get method for struct member 'obhysteresis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__obhysteresis
      • setObhysteresis

        public void setObhysteresis​(int obhysteresis)
                             throws java.io.IOException
        Set method for struct member 'obhysteresis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__obhysteresis
      • __io__addressof

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