Class VolumeRender


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         VolumeRender volumerender = ...;
         CPointer<Object> p = volumerender.__dna__addressof(VolumeRender.__DNA__FIELD__precision);
         CPointer<Integer> p_precision = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'precision'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__space

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

        Field Documentation

        Blender Python API

        Specify volume density and step size in object or world space

        Pointer Arithmetics

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

         VolumeRender volumerender = ...;
         CPointer<Object> p = volumerender.__dna__addressof(VolumeRender.__DNA__FIELD__space);
         CPointer<Integer> p_space = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'space'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__step_size

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

        Field Documentation

        Blender Python API

        Distance between volume samples. Lower values render more detail at the cost of performance. If set to zero, the step size is automatically determined based on voxel size

        Pointer Arithmetics

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

         VolumeRender volumerender = ...;
         CPointer<Object> p = volumerender.__dna__addressof(VolumeRender.__DNA__FIELD__step_size);
         CPointer<Float> p_step_size = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'step_size'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__clipping

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

        Field Documentation

        Blender Python API

        Value under which voxels are considered empty space to optimize rendering

        Pointer Arithmetics

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

         VolumeRender volumerender = ...;
         CPointer<Object> p = volumerender.__dna__addressof(VolumeRender.__DNA__FIELD__clipping);
         CPointer<Float> p_clipping = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • VolumeRender

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

        protected VolumeRender​(VolumeRender that)
    • Method Detail

      • getPrecision

        public int getPrecision()
                         throws java.io.IOException
        Get method for struct member 'precision'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__precision
      • setPrecision

        public void setPrecision​(int precision)
                          throws java.io.IOException
        Set method for struct member 'precision'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__precision
      • getSpace

        public int getSpace()
                     throws java.io.IOException
        Get method for struct member 'space'.

        Field Documentation

        Blender Python API

        Specify volume density and step size in object or world space
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space
      • setSpace

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

        Field Documentation

        Blender Python API

        Specify volume density and step size in object or world space
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__space
      • getStep_size

        public float getStep_size()
                           throws java.io.IOException
        Get method for struct member 'step_size'.

        Field Documentation

        Blender Python API

        Distance between volume samples. Lower values render more detail at the cost of performance. If set to zero, the step size is automatically determined based on voxel size
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__step_size
      • setStep_size

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

        Field Documentation

        Blender Python API

        Distance between volume samples. Lower values render more detail at the cost of performance. If set to zero, the step size is automatically determined based on voxel size
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__step_size
      • getClipping

        public float getClipping()
                          throws java.io.IOException
        Get method for struct member 'clipping'.

        Field Documentation

        Blender Python API

        Value under which voxels are considered empty space to optimize rendering
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clipping
      • setClipping

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

        Field Documentation

        Blender Python API

        Value under which voxels are considered empty space to optimize rendering
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__clipping
      • __io__addressof

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