Class GP_Sculpt_Guide


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

    Class Documentation

    Blender Source Code

    Settings for a GPencil Speed Guide.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__use_guide);
         CPointer<Byte> p_use_guide = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'use_guide'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__use_snapping

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__use_snapping);
         CPointer<Byte> p_use_snapping = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'use_snapping'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__reference_point

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__reference_point);
         CPointer<Byte> p_reference_point = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'reference_point'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__type

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__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___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:

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[4]'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__angle

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__angle);
         CPointer<Float> p_angle = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'angle'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__angle_snap

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__angle_snap);
         CPointer<Float> p_angle_snap = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'angle_snap'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__spacing

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__spacing);
         CPointer<Float> p_spacing = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'spacing'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__location

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__location);
         CPointer<CArrayFacade<Float>> p_location = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         GP_Sculpt_Guide gp_sculpt_guide = ...;
         CPointer<Object> p = gp_sculpt_guide.__dna__addressof(GP_Sculpt_Guide.__DNA__FIELD__reference_object);
         CPointer<CPointer<BlenderObject>> p_reference_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

      • GP_Sculpt_Guide

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

      • getUse_guide

        public byte getUse_guide()
                          throws java.io.IOException
        Get method for struct member 'use_guide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_guide
      • setUse_guide

        public void setUse_guide​(byte use_guide)
                          throws java.io.IOException
        Set method for struct member 'use_guide'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_guide
      • getUse_snapping

        public byte getUse_snapping()
                             throws java.io.IOException
        Get method for struct member 'use_snapping'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_snapping
      • setUse_snapping

        public void setUse_snapping​(byte use_snapping)
                             throws java.io.IOException
        Set method for struct member 'use_snapping'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_snapping
      • getReference_point

        public byte getReference_point()
                                throws java.io.IOException
        Get method for struct member 'reference_point'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reference_point
      • setReference_point

        public void setReference_point​(byte reference_point)
                                throws java.io.IOException
        Set method for struct member 'reference_point'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__reference_point
      • getType

        public byte getType()
                     throws java.io.IOException
        Get method for struct member 'type'.
        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'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • get_pad2

        public CArrayFacade<java.lang.Byte> 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​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • getAngle

        public float getAngle()
                       throws java.io.IOException
        Get method for struct member 'angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • setAngle

        public void setAngle​(float angle)
                      throws java.io.IOException
        Set method for struct member 'angle'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle
      • getAngle_snap

        public float getAngle_snap()
                            throws java.io.IOException
        Get method for struct member 'angle_snap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle_snap
      • setAngle_snap

        public void setAngle_snap​(float angle_snap)
                           throws java.io.IOException
        Set method for struct member 'angle_snap'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__angle_snap
      • getSpacing

        public float getSpacing()
                         throws java.io.IOException
        Get method for struct member 'spacing'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacing
      • setSpacing

        public void setSpacing​(float spacing)
                        throws java.io.IOException
        Set method for struct member 'spacing'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__spacing
      • getLocation

        public CArrayFacade<java.lang.Float> getLocation()
                                                  throws java.io.IOException
        Get method for struct member 'location'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location
      • setLocation

        public void setLocation​(CArrayFacade<java.lang.Float> location)
                         throws java.io.IOException
        Set method for struct member 'location'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__location