Class DisplaySafeAreas


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

    Class Documentation

    Blender Source Code

    Safe Area options used in Camera View & Sequencer.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics

        Blender Source Code

        each value represents the (x,y) margins as a multiplier. 'center' in this context is just the name for a different kind of safe-area Title Safe.

        Pointer Arithmetics

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

         DisplaySafeAreas displaysafeareas = ...;
         CPointer<Object> p = displaysafeareas.__dna__addressof(DisplaySafeAreas.__DNA__FIELD__title);
         CPointer<CArrayFacade<Float>> p_title = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'title'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__action

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

        Field Documentation

        Blender Python API

        Safe area for general elements

        Blender Source Code

        Image/Graphics Safe.

        Pointer Arithmetics

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

         DisplaySafeAreas displaysafeareas = ...;
         CPointer<Object> p = displaysafeareas.__dna__addressof(DisplaySafeAreas.__DNA__FIELD__action);
         CPointer<CArrayFacade<Float>> p_action = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'action'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__title_center

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics in a different aspect ratio

        Blender Source Code

        use for alternate aspect ratio

        Pointer Arithmetics

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

         DisplaySafeAreas displaysafeareas = ...;
         CPointer<Object> p = displaysafeareas.__dna__addressof(DisplaySafeAreas.__DNA__FIELD__title_center);
         CPointer<CArrayFacade<Float>> p_title_center = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'title_center'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__action_center

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

        Field Documentation

        Blender Python API

        Safe area for general elements in a different aspect ratio

        Pointer Arithmetics

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

         DisplaySafeAreas displaysafeareas = ...;
         CPointer<Object> p = displaysafeareas.__dna__addressof(DisplaySafeAreas.__DNA__FIELD__action_center);
         CPointer<CArrayFacade<Float>> p_action_center = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'action_center'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
    • Constructor Detail

      • DisplaySafeAreas

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

      • getTitle

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics

        Blender Source Code

        each value represents the (x,y) margins as a multiplier. 'center' in this context is just the name for a different kind of safe-area Title Safe.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__title
      • setTitle

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics

        Blender Source Code

        each value represents the (x,y) margins as a multiplier. 'center' in this context is just the name for a different kind of safe-area Title Safe.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__title
      • getAction

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

        Field Documentation

        Blender Python API

        Safe area for general elements

        Blender Source Code

        Image/Graphics Safe.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • setAction

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

        Field Documentation

        Blender Python API

        Safe area for general elements

        Blender Source Code

        Image/Graphics Safe.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action
      • getTitle_center

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics in a different aspect ratio

        Blender Source Code

        use for alternate aspect ratio

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__title_center
      • setTitle_center

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

        Field Documentation

        Blender Python API

        Safe area for text and graphics in a different aspect ratio

        Blender Source Code

        use for alternate aspect ratio

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__title_center
      • getAction_center

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

        Field Documentation

        Blender Python API

        Safe area for general elements in a different aspect ratio
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action_center
      • setAction_center

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

        Field Documentation

        Blender Python API

        Safe area for general elements in a different aspect ratio
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__action_center