Class ShrinkwrapModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__modifier);
         CPointer<ModifierData> p_modifier = p.cast(new Class[]{ModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'ModifierData'
        • Actual Size (32bit/64bit): 104/120
      • __DNA__FIELD__target

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

        Field Documentation

        Blender Source Code

        Shrink target.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__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__auxTarget

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

        Field Documentation

        Blender Source Code

        Additional shrink target.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__auxTarget);
         CPointer<CPointer<BlenderObject>> p_auxTarget = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__vgroup_name);
         CPointer<CArrayFacade<Byte>> p_vgroup_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Distance offset to keep from mesh/projection point.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__keepDist);
         CPointer<Float> p_keepDist = p.cast(new Class[]{Float.class});
         

        Metadata

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

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__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__shrinkOpts

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

        Field Documentation

        Blender Source Code

        Shrink options.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__shrinkOpts);
         CPointer<Byte> p_shrinkOpts = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'shrinkOpts'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__shrinkMode

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

        Field Documentation

        Blender Source Code

        Shrink to surface mode.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__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__projLimit

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

        Field Documentation

        Blender Source Code

        Limit the projection ray cast.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__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__projAxis

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

        Field Documentation

        Blender Source Code

        Axis to project over.

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__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__subsurfLevels

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

        Field Documentation

        Blender Source Code

        If using projection over vertex normal this controls the level of subsurface that must be done before getting the vertex coordinates and normal

        Pointer Arithmetics

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

         ShrinkwrapModifierData shrinkwrapmodifierdata = ...;
         CPointer<Object> p = shrinkwrapmodifierdata.__dna__addressof(ShrinkwrapModifierData.__DNA__FIELD__subsurfLevels);
         CPointer<Byte> p_subsurfLevels = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

        Metadata

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

      • ShrinkwrapModifierData

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

      • getModifier

        public ModifierData getModifier()
                                 throws java.io.IOException
        Get method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • setModifier

        public void setModifier​(ModifierData modifier)
                         throws java.io.IOException
        Set method for struct member 'modifier'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__modifier
      • getTarget

        public CPointer<BlenderObject> getTarget()
                                          throws java.io.IOException
        Get method for struct member 'target'.

        Field Documentation

        Blender Source Code

        Shrink target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target
      • setTarget

        public void setTarget​(CPointer<BlenderObject> target)
                       throws java.io.IOException
        Set method for struct member 'target'.

        Field Documentation

        Blender Source Code

        Shrink target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__target
      • getAuxTarget

        public CPointer<BlenderObject> getAuxTarget()
                                             throws java.io.IOException
        Get method for struct member 'auxTarget'.

        Field Documentation

        Blender Source Code

        Additional shrink target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__auxTarget
      • setAuxTarget

        public void setAuxTarget​(CPointer<BlenderObject> auxTarget)
                          throws java.io.IOException
        Set method for struct member 'auxTarget'.

        Field Documentation

        Blender Source Code

        Additional shrink target.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__auxTarget
      • getVgroup_name

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_name
      • setVgroup_name

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

        Field Documentation

        Blender Source Code

        Optional vertex-group name, #MAX_VGROUP_NAME.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__vgroup_name
      • getKeepDist

        public float getKeepDist()
                          throws java.io.IOException
        Get method for struct member 'keepDist'.

        Field Documentation

        Blender Source Code

        Distance offset to keep from mesh/projection point.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__keepDist
      • setKeepDist

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

        Field Documentation

        Blender Source Code

        Distance offset to keep from mesh/projection point.

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

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

        Field Documentation

        Blender Source Code

        Shrink type projection.

        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 projection.

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

        public byte getShrinkOpts()
                           throws java.io.IOException
        Get method for struct member 'shrinkOpts'.

        Field Documentation

        Blender Source Code

        Shrink options.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__shrinkOpts
      • setShrinkOpts

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

        Field Documentation

        Blender Source Code

        Shrink options.

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

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

        Field Documentation

        Blender Source Code

        Shrink to surface mode.

        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

        Shrink to surface mode.

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

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

        Field Documentation

        Blender Source Code

        Limit the projection ray cast.

        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

        Limit the projection ray cast.

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

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

        Field Documentation

        Blender Source Code

        Axis to project over.

        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 over.

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

        public byte getSubsurfLevels()
                              throws java.io.IOException
        Get method for struct member 'subsurfLevels'.

        Field Documentation

        Blender Source Code

        If using projection over vertex normal this controls the level of subsurface that must be done before getting the vertex coordinates and normal

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subsurfLevels
      • setSubsurfLevels

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

        Field Documentation

        Blender Source Code

        If using projection over vertex normal this controls the level of subsurface that must be done before getting the vertex coordinates and normal

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__subsurfLevels
      • 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