Class SceneDisplay


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

    Class Documentation

    Blender Source Code

    Scene Display - used for store scene specific display settings for the 3d view.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Direction of the light for shadows and highlights

        Blender Source Code

        Light direction for shadows/highlight.

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__light_direction);
         CPointer<CArrayFacade<Float>> p_light_direction = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Field Documentation

        Blender Python API

        Shadow termination angle

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__shadow_shift);
         CPointer<Float> p_shadow_shift = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shadow_shift'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shadow_focus

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

        Field Documentation

        Blender Python API

        Shadow factor hardness

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__shadow_focus);
         CPointer<Float> p_shadow_focus = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'shadow_focus'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__matcap_ssao_distance

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

        Field Documentation

        Blender Python API

        Distance of object that contribute to the Cavity/Edge effect

        Blender Source Code

        Settings for Cavity Shader.

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__matcap_ssao_distance);
         CPointer<Float> p_matcap_ssao_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'matcap_ssao_distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__matcap_ssao_attenuation

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

        Field Documentation

        Blender Python API

        Attenuation constant

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__matcap_ssao_attenuation);
         CPointer<Float> p_matcap_ssao_attenuation = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'matcap_ssao_attenuation'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__matcap_ssao_samples

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

        Field Documentation

        Blender Python API

        Number of samples

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__matcap_ssao_samples);
         CPointer<Integer> p_matcap_ssao_samples = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'matcap_ssao_samples'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__viewport_aa

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

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering 3d viewport

        Blender Source Code

        Method of AA for viewport rendering and image rendering

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__viewport_aa);
         CPointer<Byte> p_viewport_aa = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'viewport_aa'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__render_aa

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

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering final image

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__render_aa);
         CPointer<Byte> p_render_aa = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'render_aa'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Python API

        (read-only) Shading settings for OpenGL render engine

        Blender Source Code

        OpenGL render engine settings.

        Pointer Arithmetics

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

         SceneDisplay scenedisplay = ...;
         CPointer<Object> p = scenedisplay.__dna__addressof(SceneDisplay.__DNA__FIELD__shading);
         CPointer<View3DShading> p_shading = p.cast(new Class[]{View3DShading.class});
         

        Metadata

        • Field: 'shading'
        • Signature: 'View3DShading'
        • Actual Size (32bit/64bit): 936/944
    • Constructor Detail

      • SceneDisplay

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

        protected SceneDisplay​(SceneDisplay that)
    • Method Detail

      • getLight_direction

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

        Field Documentation

        Blender Python API

        Direction of the light for shadows and highlights

        Blender Source Code

        Light direction for shadows/highlight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__light_direction
      • setLight_direction

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

        Field Documentation

        Blender Python API

        Direction of the light for shadows and highlights

        Blender Source Code

        Light direction for shadows/highlight.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__light_direction
      • getShadow_shift

        public float getShadow_shift()
                              throws java.io.IOException
        Get method for struct member 'shadow_shift'.

        Field Documentation

        Blender Python API

        Shadow termination angle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_shift
      • setShadow_shift

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

        Field Documentation

        Blender Python API

        Shadow termination angle
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_shift
      • getShadow_focus

        public float getShadow_focus()
                              throws java.io.IOException
        Get method for struct member 'shadow_focus'.

        Field Documentation

        Blender Python API

        Shadow factor hardness
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_focus
      • setShadow_focus

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

        Field Documentation

        Blender Python API

        Shadow factor hardness
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shadow_focus
      • getMatcap_ssao_distance

        public float getMatcap_ssao_distance()
                                      throws java.io.IOException
        Get method for struct member 'matcap_ssao_distance'.

        Field Documentation

        Blender Python API

        Distance of object that contribute to the Cavity/Edge effect

        Blender Source Code

        Settings for Cavity Shader.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_distance
      • setMatcap_ssao_distance

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

        Field Documentation

        Blender Python API

        Distance of object that contribute to the Cavity/Edge effect

        Blender Source Code

        Settings for Cavity Shader.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_distance
      • getMatcap_ssao_attenuation

        public float getMatcap_ssao_attenuation()
                                         throws java.io.IOException
        Get method for struct member 'matcap_ssao_attenuation'.

        Field Documentation

        Blender Python API

        Attenuation constant
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_attenuation
      • setMatcap_ssao_attenuation

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

        Field Documentation

        Blender Python API

        Attenuation constant
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_attenuation
      • getMatcap_ssao_samples

        public int getMatcap_ssao_samples()
                                   throws java.io.IOException
        Get method for struct member 'matcap_ssao_samples'.

        Field Documentation

        Blender Python API

        Number of samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_samples
      • setMatcap_ssao_samples

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

        Field Documentation

        Blender Python API

        Number of samples
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__matcap_ssao_samples
      • getViewport_aa

        public byte getViewport_aa()
                            throws java.io.IOException
        Get method for struct member 'viewport_aa'.

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering 3d viewport

        Blender Source Code

        Method of AA for viewport rendering and image rendering

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__viewport_aa
      • setViewport_aa

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

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering 3d viewport

        Blender Source Code

        Method of AA for viewport rendering and image rendering

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__viewport_aa
      • getRender_aa

        public byte getRender_aa()
                          throws java.io.IOException
        Get method for struct member 'render_aa'.

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering final image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_aa
      • setRender_aa

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

        Field Documentation

        Blender Python API

        Method of anti-aliasing when rendering final image
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__render_aa
      • 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
      • getShading

        public View3DShading getShading()
                                 throws java.io.IOException
        Get method for struct member 'shading'.

        Field Documentation

        Blender Python API

        (read-only) Shading settings for OpenGL render engine

        Blender Source Code

        OpenGL render engine settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shading
      • setShading

        public void setShading​(View3DShading shading)
                        throws java.io.IOException
        Set method for struct member 'shading'.

        Field Documentation

        Blender Python API

        (read-only) Shading settings for OpenGL render engine

        Blender Source Code

        OpenGL render engine settings.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shading
      • __io__addressof

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