Class TimeGpencilModifierSegment


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Name of the dash segment

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        For path reference.

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__gpmd);
         CPointer<CPointer<TimeGpencilModifierData>> p_gpmd = p.cast(new Class[]{CPointer.class, TimeGpencilModifierData.class});
         

        Metadata

        • Field: 'gpmd'
        • Signature: 'TimeGpencilModifierData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__seg_start

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

        Field Documentation

        Blender Python API

        First frame of the segment

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__seg_start);
         CPointer<Integer> p_seg_start = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'seg_start'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__seg_end

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

        Field Documentation

        Blender Python API

        Last frame of the segment

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__seg_end);
         CPointer<Integer> p_seg_end = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'seg_end'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__seg_mode

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

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__seg_mode);
         CPointer<Integer> p_seg_mode = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'seg_mode'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__seg_repeat

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

        Field Documentation

        Blender Python API

        Number of cycle repeats

        Pointer Arithmetics

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

         TimeGpencilModifierSegment timegpencilmodifiersegment = ...;
         CPointer<Object> p = timegpencilmodifiersegment.__dna__addressof(TimeGpencilModifierSegment.__DNA__FIELD__seg_repeat);
         CPointer<Integer> p_seg_repeat = p.cast(new Class[]{Integer.class});
         

        Metadata

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

      • TimeGpencilModifierSegment

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

      • getName

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

        Field Documentation

        Blender Python API

        Name of the dash segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Python API

        Name of the dash segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setGpmd

        public void setGpmd​(CPointer<TimeGpencilModifierData> gpmd)
                     throws java.io.IOException
        Set method for struct member 'gpmd'.

        Field Documentation

        Blender Source Code

        For path reference.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__gpmd
      • getSeg_start

        public int getSeg_start()
                         throws java.io.IOException
        Get method for struct member 'seg_start'.

        Field Documentation

        Blender Python API

        First frame of the segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_start
      • setSeg_start

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

        Field Documentation

        Blender Python API

        First frame of the segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_start
      • getSeg_end

        public int getSeg_end()
                       throws java.io.IOException
        Get method for struct member 'seg_end'.

        Field Documentation

        Blender Python API

        Last frame of the segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_end
      • setSeg_end

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

        Field Documentation

        Blender Python API

        Last frame of the segment
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_end
      • getSeg_mode

        public int getSeg_mode()
                        throws java.io.IOException
        Get method for struct member 'seg_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_mode
      • setSeg_mode

        public void setSeg_mode​(int seg_mode)
                         throws java.io.IOException
        Set method for struct member 'seg_mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_mode
      • getSeg_repeat

        public int getSeg_repeat()
                          throws java.io.IOException
        Get method for struct member 'seg_repeat'.

        Field Documentation

        Blender Python API

        Number of cycle repeats
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_repeat
      • setSeg_repeat

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

        Field Documentation

        Blender Python API

        Number of cycle repeats
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__seg_repeat