Class View3DShading


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

    Class Documentation

    Blender Source Code

    3D Viewport Shading settings.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Method to display/shade objects in the 3D View

        Blender Source Code

        Shading type (OB_SOLID, ..).

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__type);
         CPointer<Byte> p_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__prev_type

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

        Field Documentation

        Blender Source Code

        Runtime, for toggle between rendered viewport.

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__prev_type);
         CPointer<Byte> p_prev_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'prev_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__prev_type_wire

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__prev_type_wire);
         CPointer<Byte> p_prev_type_wire = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'prev_type_wire'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__color_type

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

        Field Documentation

        Blender Python API

        Color Type

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__color_type);
         CPointer<Byte> p_color_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'color_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__light

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

        Field Documentation

        Blender Python API

        Lighting Method for Solid/Texture Viewport Shading

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__light);
         CPointer<Byte> p_light = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'light'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__background_type

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

        Field Documentation

        Blender Python API

        Way to display the background

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__background_type);
         CPointer<Byte> p_background_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'background_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__cavity_type

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

        Field Documentation

        Blender Python API

        Way to display the cavity shading

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__cavity_type);
         CPointer<Byte> p_cavity_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'cavity_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__wire_color_type

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__wire_color_type);
         CPointer<Byte> p_wire_color_type = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'wire_color_type'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[2]'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__studio_light

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

        Field Documentation

        Blender Python API

        Studio lighting setup

        Blender Source Code

        FILE_MAXFILE.

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__studio_light);
         CPointer<CArrayFacade<Byte>> p_studio_light = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'studio_light'
        • Signature: 'char[256]'
        • Actual Size (32bit/64bit): 256/256
      • __DNA__FIELD__lookdev_light

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

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__lookdev_light);
         CPointer<CArrayFacade<Byte>> p_lookdev_light = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'lookdev_light'
        • Signature: 'char[256]'
        • Actual Size (32bit/64bit): 256/256
      • __DNA__FIELD__matcap

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

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__matcap);
         CPointer<CArrayFacade<Byte>> p_matcap = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'matcap'
        • Signature: 'char[256]'
        • Actual Size (32bit/64bit): 256/256
      • __DNA__FIELD__shadow_intensity

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

        Field Documentation

        Blender Python API

        Darkness of shadows

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__shadow_intensity);
         CPointer<Float> p_shadow_intensity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shadow_intensity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__single_color

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

        Field Documentation

        Blender Python API

        Color for single color mode

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__single_color);
         CPointer<CArrayFacade<Float>> p_single_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'single_color'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__studiolight_rot_z

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__studiolight_rot_z);
         CPointer<Float> p_studiolight_rot_z = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'studiolight_rot_z'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__studiolight_background

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__studiolight_background);
         CPointer<Float> p_studiolight_background = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'studiolight_background'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__studiolight_intensity

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

        Field Documentation

        Blender Python API

        Strength of the studiolight

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__studiolight_intensity);
         CPointer<Float> p_studiolight_intensity = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'studiolight_intensity'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__studiolight_blur

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__studiolight_blur);
         CPointer<Float> p_studiolight_blur = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'studiolight_blur'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__object_outline_color

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

        Field Documentation

        Blender Python API

        Color for object outline

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__object_outline_color);
         CPointer<CArrayFacade<Float>> p_object_outline_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'object_outline_color'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__xray_alpha

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

        Field Documentation

        Blender Python API

        Amount of alpha to use

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__xray_alpha);
         CPointer<Float> p_xray_alpha = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xray_alpha'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__xray_alpha_wire

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__xray_alpha_wire);
         CPointer<Float> p_xray_alpha_wire = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'xray_alpha_wire'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cavity_valley_factor

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

        Field Documentation

        Blender Python API

        Factor for the cavity valleys

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__cavity_valley_factor);
         CPointer<Float> p_cavity_valley_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cavity_valley_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__cavity_ridge_factor

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

        Field Documentation

        Blender Python API

        Factor for the cavity ridges

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__cavity_ridge_factor);
         CPointer<Float> p_cavity_ridge_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cavity_ridge_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__background_color

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

        Field Documentation

        Blender Python API

        Color for custom background color

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__background_color);
         CPointer<CArrayFacade<Float>> p_background_color = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'background_color'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__curvature_ridge_factor

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

        Field Documentation

        Blender Python API

        Factor for the curvature ridges

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__curvature_ridge_factor);
         CPointer<Float> p_curvature_ridge_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curvature_ridge_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__curvature_valley_factor

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

        Field Documentation

        Blender Python API

        Factor for the curvature valleys

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__curvature_valley_factor);
         CPointer<Float> p_curvature_valley_factor = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'curvature_valley_factor'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__render_pass

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

        Field Documentation

        Blender Python API

        Render Pass to show in the viewport

        Blender Source Code

        where one bit is set

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__render_pass);
         CPointer<Integer> p_render_pass = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'render_pass'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__aov_name

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

        Field Documentation

        Blender Python API

        Name of the active Shader AOV

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__aov_name);
         CPointer<CArrayFacade<Byte>> p_aov_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'aov_name'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__prop

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD__prop);
         CPointer<CPointer<IDProperty>> p_prop = p.cast(new Class[]{CPointer.class, IDProperty.class});
         

        Metadata

        • Field: 'prop'
        • Signature: 'IDProperty*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD___pad2

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

        Pointer Arithmetics

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

         View3DShading view3dshading = ...;
         CPointer<Object> p = view3dshading.__dna__addressof(View3DShading.__DNA__FIELD___pad2);
         CPointer<CPointer<Object>> p__pad2 = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'void*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • View3DShading

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

      • getType

        public byte getType()
                     throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Python API

        Method to display/shade objects in the 3D View

        Blender Source Code

        Shading type (OB_SOLID, ..).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(byte type)
                     throws java.io.IOException
        Set method for struct member 'type'.

        Field Documentation

        Blender Python API

        Method to display/shade objects in the 3D View

        Blender Source Code

        Shading type (OB_SOLID, ..).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getPrev_type

        public byte getPrev_type()
                          throws java.io.IOException
        Get method for struct member 'prev_type'.

        Field Documentation

        Blender Source Code

        Runtime, for toggle between rendered viewport.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev_type
      • setPrev_type

        public void setPrev_type​(byte prev_type)
                          throws java.io.IOException
        Set method for struct member 'prev_type'.

        Field Documentation

        Blender Source Code

        Runtime, for toggle between rendered viewport.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev_type
      • getPrev_type_wire

        public byte getPrev_type_wire()
                               throws java.io.IOException
        Get method for struct member 'prev_type_wire'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev_type_wire
      • setPrev_type_wire

        public void setPrev_type_wire​(byte prev_type_wire)
                               throws java.io.IOException
        Set method for struct member 'prev_type_wire'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev_type_wire
      • getColor_type

        public byte getColor_type()
                           throws java.io.IOException
        Get method for struct member 'color_type'.

        Field Documentation

        Blender Python API

        Color Type
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_type
      • setColor_type

        public void setColor_type​(byte color_type)
                           throws java.io.IOException
        Set method for struct member 'color_type'.

        Field Documentation

        Blender Python API

        Color Type
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__color_type
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getLight

        public byte getLight()
                      throws java.io.IOException
        Get method for struct member 'light'.

        Field Documentation

        Blender Python API

        Lighting Method for Solid/Texture Viewport Shading
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__light
      • setLight

        public void setLight​(byte light)
                      throws java.io.IOException
        Set method for struct member 'light'.

        Field Documentation

        Blender Python API

        Lighting Method for Solid/Texture Viewport Shading
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__light
      • getBackground_type

        public byte getBackground_type()
                                throws java.io.IOException
        Get method for struct member 'background_type'.

        Field Documentation

        Blender Python API

        Way to display the background
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__background_type
      • setBackground_type

        public void setBackground_type​(byte background_type)
                                throws java.io.IOException
        Set method for struct member 'background_type'.

        Field Documentation

        Blender Python API

        Way to display the background
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__background_type
      • getCavity_type

        public byte getCavity_type()
                            throws java.io.IOException
        Get method for struct member 'cavity_type'.

        Field Documentation

        Blender Python API

        Way to display the cavity shading
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_type
      • setCavity_type

        public void setCavity_type​(byte cavity_type)
                            throws java.io.IOException
        Set method for struct member 'cavity_type'.

        Field Documentation

        Blender Python API

        Way to display the cavity shading
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_type
      • getWire_color_type

        public byte getWire_color_type()
                                throws java.io.IOException
        Get method for struct member 'wire_color_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wire_color_type
      • setWire_color_type

        public void setWire_color_type​(byte wire_color_type)
                                throws java.io.IOException
        Set method for struct member 'wire_color_type'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__wire_color_type
      • get_pad

        public CArrayFacade<java.lang.Byte> 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.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getStudio_light

        public CArrayFacade<java.lang.Byte> getStudio_light()
                                                     throws java.io.IOException
        Get method for struct member 'studio_light'.

        Field Documentation

        Blender Python API

        Studio lighting setup

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studio_light
      • setStudio_light

        public void setStudio_light​(CArrayFacade<java.lang.Byte> studio_light)
                             throws java.io.IOException
        Set method for struct member 'studio_light'.

        Field Documentation

        Blender Python API

        Studio lighting setup

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studio_light
      • getLookdev_light

        public CArrayFacade<java.lang.Byte> getLookdev_light()
                                                      throws java.io.IOException
        Get method for struct member 'lookdev_light'.

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lookdev_light
      • setLookdev_light

        public void setLookdev_light​(CArrayFacade<java.lang.Byte> lookdev_light)
                              throws java.io.IOException
        Set method for struct member 'lookdev_light'.

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__lookdev_light
      • getMatcap

        public CArrayFacade<java.lang.Byte> getMatcap()
                                               throws java.io.IOException
        Get method for struct member 'matcap'.

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap
      • setMatcap

        public void setMatcap​(CArrayFacade<java.lang.Byte> matcap)
                       throws java.io.IOException
        Set method for struct member 'matcap'.

        Field Documentation

        Blender Source Code

        FILE_MAXFILE.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap
      • getShadow_intensity

        public float getShadow_intensity()
                                  throws java.io.IOException
        Get method for struct member 'shadow_intensity'.

        Field Documentation

        Blender Python API

        Darkness of shadows
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_intensity
      • setShadow_intensity

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

        Field Documentation

        Blender Python API

        Darkness of shadows
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_intensity
      • getSingle_color

        public CArrayFacade<java.lang.Float> getSingle_color()
                                                      throws java.io.IOException
        Get method for struct member 'single_color'.

        Field Documentation

        Blender Python API

        Color for single color mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__single_color
      • setSingle_color

        public void setSingle_color​(CArrayFacade<java.lang.Float> single_color)
                             throws java.io.IOException
        Set method for struct member 'single_color'.

        Field Documentation

        Blender Python API

        Color for single color mode
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__single_color
      • getStudiolight_rot_z

        public float getStudiolight_rot_z()
                                   throws java.io.IOException
        Get method for struct member 'studiolight_rot_z'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_rot_z
      • setStudiolight_rot_z

        public void setStudiolight_rot_z​(float studiolight_rot_z)
                                  throws java.io.IOException
        Set method for struct member 'studiolight_rot_z'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_rot_z
      • getStudiolight_background

        public float getStudiolight_background()
                                        throws java.io.IOException
        Get method for struct member 'studiolight_background'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_background
      • setStudiolight_background

        public void setStudiolight_background​(float studiolight_background)
                                       throws java.io.IOException
        Set method for struct member 'studiolight_background'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_background
      • getStudiolight_intensity

        public float getStudiolight_intensity()
                                       throws java.io.IOException
        Get method for struct member 'studiolight_intensity'.

        Field Documentation

        Blender Python API

        Strength of the studiolight
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_intensity
      • setStudiolight_intensity

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

        Field Documentation

        Blender Python API

        Strength of the studiolight
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_intensity
      • getStudiolight_blur

        public float getStudiolight_blur()
                                  throws java.io.IOException
        Get method for struct member 'studiolight_blur'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_blur
      • setStudiolight_blur

        public void setStudiolight_blur​(float studiolight_blur)
                                 throws java.io.IOException
        Set method for struct member 'studiolight_blur'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__studiolight_blur
      • getObject_outline_color

        public CArrayFacade<java.lang.Float> getObject_outline_color()
                                                              throws java.io.IOException
        Get method for struct member 'object_outline_color'.

        Field Documentation

        Blender Python API

        Color for object outline
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object_outline_color
      • setObject_outline_color

        public void setObject_outline_color​(CArrayFacade<java.lang.Float> object_outline_color)
                                     throws java.io.IOException
        Set method for struct member 'object_outline_color'.

        Field Documentation

        Blender Python API

        Color for object outline
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object_outline_color
      • getXray_alpha

        public float getXray_alpha()
                            throws java.io.IOException
        Get method for struct member 'xray_alpha'.

        Field Documentation

        Blender Python API

        Amount of alpha to use
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xray_alpha
      • setXray_alpha

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

        Field Documentation

        Blender Python API

        Amount of alpha to use
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xray_alpha
      • getXray_alpha_wire

        public float getXray_alpha_wire()
                                 throws java.io.IOException
        Get method for struct member 'xray_alpha_wire'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xray_alpha_wire
      • setXray_alpha_wire

        public void setXray_alpha_wire​(float xray_alpha_wire)
                                throws java.io.IOException
        Set method for struct member 'xray_alpha_wire'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xray_alpha_wire
      • getCavity_valley_factor

        public float getCavity_valley_factor()
                                      throws java.io.IOException
        Get method for struct member 'cavity_valley_factor'.

        Field Documentation

        Blender Python API

        Factor for the cavity valleys
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_valley_factor
      • setCavity_valley_factor

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

        Field Documentation

        Blender Python API

        Factor for the cavity valleys
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_valley_factor
      • getCavity_ridge_factor

        public float getCavity_ridge_factor()
                                     throws java.io.IOException
        Get method for struct member 'cavity_ridge_factor'.

        Field Documentation

        Blender Python API

        Factor for the cavity ridges
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_ridge_factor
      • setCavity_ridge_factor

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

        Field Documentation

        Blender Python API

        Factor for the cavity ridges
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cavity_ridge_factor
      • getBackground_color

        public CArrayFacade<java.lang.Float> getBackground_color()
                                                          throws java.io.IOException
        Get method for struct member 'background_color'.

        Field Documentation

        Blender Python API

        Color for custom background color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__background_color
      • setBackground_color

        public void setBackground_color​(CArrayFacade<java.lang.Float> background_color)
                                 throws java.io.IOException
        Set method for struct member 'background_color'.

        Field Documentation

        Blender Python API

        Color for custom background color
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__background_color
      • getCurvature_ridge_factor

        public float getCurvature_ridge_factor()
                                        throws java.io.IOException
        Get method for struct member 'curvature_ridge_factor'.

        Field Documentation

        Blender Python API

        Factor for the curvature ridges
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curvature_ridge_factor
      • setCurvature_ridge_factor

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

        Field Documentation

        Blender Python API

        Factor for the curvature ridges
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curvature_ridge_factor
      • getCurvature_valley_factor

        public float getCurvature_valley_factor()
                                         throws java.io.IOException
        Get method for struct member 'curvature_valley_factor'.

        Field Documentation

        Blender Python API

        Factor for the curvature valleys
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curvature_valley_factor
      • setCurvature_valley_factor

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

        Field Documentation

        Blender Python API

        Factor for the curvature valleys
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__curvature_valley_factor
      • getRender_pass

        public int getRender_pass()
                           throws java.io.IOException
        Get method for struct member 'render_pass'.

        Field Documentation

        Blender Python API

        Render Pass to show in the viewport

        Blender Source Code

        where one bit is set

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_pass
      • setRender_pass

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

        Field Documentation

        Blender Python API

        Render Pass to show in the viewport

        Blender Source Code

        where one bit is set

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_pass
      • getAov_name

        public CArrayFacade<java.lang.Byte> getAov_name()
                                                 throws java.io.IOException
        Get method for struct member 'aov_name'.

        Field Documentation

        Blender Python API

        Name of the active Shader AOV
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aov_name
      • setAov_name

        public void setAov_name​(CArrayFacade<java.lang.Byte> aov_name)
                         throws java.io.IOException
        Set method for struct member 'aov_name'.

        Field Documentation

        Blender Python API

        Name of the active Shader AOV
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__aov_name
      • setProp

        public void setProp​(CPointer<IDProperty> prop)
                     throws java.io.IOException
        Set method for struct member 'prop'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prop
      • get_pad2

        public CPointer<java.lang.Object> get_pad2()
                                            throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CPointer<java.lang.Object> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • __io__addressof

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