Class VolumeDisplay


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Thickness of volume drawing in the viewport

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__density);
         CPointer<Float> p_density = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'density'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wireframe_type

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

        Field Documentation

        Blender Python API

        Type of wireframe display

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__wireframe_type);
         CPointer<Integer> p_wireframe_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'wireframe_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__wireframe_detail

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

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD__wireframe_detail);
         CPointer<Integer> p_wireframe_detail = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'wireframe_detail'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD___pad

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

        Pointer Arithmetics

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

         VolumeDisplay volumedisplay = ...;
         CPointer<Object> p = volumedisplay.__dna__addressof(VolumeDisplay.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Integer>> p__pad = p.cast(new Class[]{CArrayFacade.class, Integer.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'int[1]'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • VolumeDisplay

        public VolumeDisplay​(long __address,
                             Block __block,
                             BlockTable __blockTable)
    • Method Detail

      • getDensity

        public float getDensity()
                         throws java.io.IOException
        Get method for struct member 'density'.

        Field Documentation

        Blender Python API

        Thickness of volume drawing in the viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • setDensity

        public void setDensity​(float density)
                        throws java.io.IOException
        Set method for struct member 'density'.

        Field Documentation

        Blender Python API

        Thickness of volume drawing in the viewport
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__density
      • getWireframe_type

        public int getWireframe_type()
                              throws java.io.IOException
        Get method for struct member 'wireframe_type'.

        Field Documentation

        Blender Python API

        Type of wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_type
      • setWireframe_type

        public void setWireframe_type​(int wireframe_type)
                               throws java.io.IOException
        Set method for struct member 'wireframe_type'.

        Field Documentation

        Blender Python API

        Type of wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_type
      • getWireframe_detail

        public int getWireframe_detail()
                                throws java.io.IOException
        Get method for struct member 'wireframe_detail'.

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_detail
      • setWireframe_detail

        public void setWireframe_detail​(int wireframe_detail)
                                 throws java.io.IOException
        Set method for struct member 'wireframe_detail'.

        Field Documentation

        Blender Python API

        Amount of detail for wireframe display
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wireframe_detail
      • get_pad

        public CArrayFacade<java.lang.Integer> get_pad()
                                                throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Integer> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • __io__addressof

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