Class bShrinkwrapConstraint


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

    Class Documentation

    Blender Source Code

    ShrinkWrap Constraint

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__target);
         CPointer<CPointer<BlenderObject>> p_target = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'target'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__dist

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

        Field Documentation

        Blender Source Code

        Distance to kept from target.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__dist);
         CPointer<Float> p_dist = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'dist'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shrinkType

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

        Field Documentation

        Blender Source Code

        Shrink type (look on MOD shrinkwrap for values).

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__shrinkType);
         CPointer<Short> p_shrinkType = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'shrinkType'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__projAxis

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

        Field Documentation

        Blender Source Code

        Axis to project/constrain.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projAxis);
         CPointer<Byte> p_projAxis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'projAxis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__projAxisSpace

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

        Field Documentation

        Blender Source Code

        Space to project axis in.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projAxisSpace);
         CPointer<Byte> p_projAxisSpace = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'projAxisSpace'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__projLimit

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

        Field Documentation

        Blender Source Code

        Distance to search.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__projLimit);
         CPointer<Float> p_projLimit = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'projLimit'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__shrinkMode

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

        Field Documentation

        Blender Source Code

        Inside/outside/on surface (see MOD shrinkwrap).

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__shrinkMode);
         CPointer<Byte> p_shrinkMode = p.cast(new Class[]{Byte.class});
         

        Metadata

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

        Field Documentation

        Blender Source Code

        Options.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__flag);
         CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__trackAxis

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

        Field Documentation

        Blender Source Code

        Axis to align to normal.

        Pointer Arithmetics

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD__trackAxis);
         CPointer<Byte> p_trackAxis = p.cast(new Class[]{Byte.class});
         

        Metadata

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

         bShrinkwrapConstraint bshrinkwrapconstraint = ...;
         CPointer<Object> p = bshrinkwrapconstraint.__dna__addressof(bShrinkwrapConstraint.__DNA__FIELD___pad);
         CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
    • Constructor Detail

      • bShrinkwrapConstraint

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

      • getDist

        public float getDist()
                      throws java.io.IOException
        Get method for struct member 'dist'.

        Field Documentation

        Blender Source Code

        Distance to kept from target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • setDist

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

        Field Documentation

        Blender Source Code

        Distance to kept from target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__dist
      • getShrinkType

        public short getShrinkType()
                            throws java.io.IOException
        Get method for struct member 'shrinkType'.

        Field Documentation

        Blender Source Code

        Shrink type (look on MOD shrinkwrap for values).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrinkType
      • setShrinkType

        public void setShrinkType​(short shrinkType)
                           throws java.io.IOException
        Set method for struct member 'shrinkType'.

        Field Documentation

        Blender Source Code

        Shrink type (look on MOD shrinkwrap for values).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrinkType
      • getProjAxis

        public byte getProjAxis()
                         throws java.io.IOException
        Get method for struct member 'projAxis'.

        Field Documentation

        Blender Source Code

        Axis to project/constrain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projAxis
      • setProjAxis

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

        Field Documentation

        Blender Source Code

        Axis to project/constrain.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projAxis
      • getProjAxisSpace

        public byte getProjAxisSpace()
                              throws java.io.IOException
        Get method for struct member 'projAxisSpace'.

        Field Documentation

        Blender Source Code

        Space to project axis in.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projAxisSpace
      • setProjAxisSpace

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

        Field Documentation

        Blender Source Code

        Space to project axis in.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projAxisSpace
      • getProjLimit

        public float getProjLimit()
                           throws java.io.IOException
        Get method for struct member 'projLimit'.

        Field Documentation

        Blender Source Code

        Distance to search.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projLimit
      • setProjLimit

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

        Field Documentation

        Blender Source Code

        Distance to search.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__projLimit
      • getShrinkMode

        public byte getShrinkMode()
                           throws java.io.IOException
        Get method for struct member 'shrinkMode'.

        Field Documentation

        Blender Source Code

        Inside/outside/on surface (see MOD shrinkwrap).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrinkMode
      • setShrinkMode

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

        Field Documentation

        Blender Source Code

        Inside/outside/on surface (see MOD shrinkwrap).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrinkMode
      • getFlag

        public byte getFlag()
                     throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

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

        Field Documentation

        Blender Source Code

        Options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getTrackAxis

        public byte getTrackAxis()
                          throws java.io.IOException
        Get method for struct member 'trackAxis'.

        Field Documentation

        Blender Source Code

        Axis to align to normal.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackAxis
      • setTrackAxis

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

        Field Documentation

        Blender Source Code

        Axis to align to normal.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__trackAxis
      • get_pad

        public 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​(byte _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad