Class CollisionModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Position at the beginning of the frame.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__x);
         CPointer<CPointer<MVert>> p_x = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'x'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__xnew

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

        Field Documentation

        Blender Source Code

        Position at the end of the frame.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__xnew);
         CPointer<CPointer<MVert>> p_xnew = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'xnew'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__xold

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

        Field Documentation

        Blender Source Code

        Unused atm, but was discussed during sprint.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__xold);
         CPointer<CPointer<MVert>> p_xold = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'xold'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__current_xnew

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

        Field Documentation

        Blender Source Code

        New position at the actual inter-frame step.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__current_xnew);
         CPointer<CPointer<MVert>> p_current_xnew = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'current_xnew'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__current_x

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

        Field Documentation

        Blender Source Code

        Position at the actual inter-frame step.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__current_x);
         CPointer<CPointer<MVert>> p_current_x = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'current_x'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__current_v

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

        Field Documentation

        Blender Source Code

        (xnew - x) at the actual inter-frame step.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__current_v);
         CPointer<CPointer<MVert>> p_current_v = p.cast(new Class[]{CPointer.class, MVert.class});
         

        Metadata

        • Field: 'current_v'
        • Signature: 'MVert*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__tri

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

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__tri);
         CPointer<CPointer<Object>> p_tri = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'tri'
        • Signature: 'MVertTri*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__mvert_num

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

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__mvert_num);
         CPointer<Integer> p_mvert_num = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'mvert_num'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__tri_num

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

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__tri_num);
         CPointer<Integer> p_tri_num = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'tri_num'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__time_x

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

        Field Documentation

        Blender Source Code

        Cfra time of modifier.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__time_x);
         CPointer<Float> p_time_x = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'time_x'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__time_xnew

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

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__time_xnew);
         CPointer<Float> p_time_xnew = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'time_xnew'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__is_static

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

        Field Documentation

        Blender Source Code

        Collider doesn't move this frame, i.e. x[].co==xnew[].co.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__is_static);
         CPointer<Byte> p_is_static = p.cast(new Class[]{Byte.class});
         

        Metadata

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

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

        Metadata

        • Field: '_pad'
        • Signature: 'char[7]'
        • Actual Size (32bit/64bit): 7/7
      • __DNA__FIELD__bvhtree

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

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy for this cloth object.

        Pointer Arithmetics

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

         CollisionModifierData collisionmodifierdata = ...;
         CPointer<Object> p = collisionmodifierdata.__dna__addressof(CollisionModifierData.__DNA__FIELD__bvhtree);
         CPointer<CPointer<Object>> p_bvhtree = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • CollisionModifierData

        public CollisionModifierData​(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
      • getX

        public CPointer<MVert> getX()
                             throws java.io.IOException
        Get method for struct member 'x'.

        Field Documentation

        Blender Source Code

        Position at the beginning of the frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • setX

        public void setX​(CPointer<MVert> x)
                  throws java.io.IOException
        Set method for struct member 'x'.

        Field Documentation

        Blender Source Code

        Position at the beginning of the frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__x
      • getXnew

        public CPointer<MVert> getXnew()
                                throws java.io.IOException
        Get method for struct member 'xnew'.

        Field Documentation

        Blender Source Code

        Position at the end of the frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xnew
      • setXnew

        public void setXnew​(CPointer<MVert> xnew)
                     throws java.io.IOException
        Set method for struct member 'xnew'.

        Field Documentation

        Blender Source Code

        Position at the end of the frame.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xnew
      • getXold

        public CPointer<MVert> getXold()
                                throws java.io.IOException
        Get method for struct member 'xold'.

        Field Documentation

        Blender Source Code

        Unused atm, but was discussed during sprint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xold
      • setXold

        public void setXold​(CPointer<MVert> xold)
                     throws java.io.IOException
        Set method for struct member 'xold'.

        Field Documentation

        Blender Source Code

        Unused atm, but was discussed during sprint.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__xold
      • getCurrent_xnew

        public CPointer<MVert> getCurrent_xnew()
                                        throws java.io.IOException
        Get method for struct member 'current_xnew'.

        Field Documentation

        Blender Source Code

        New position at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_xnew
      • setCurrent_xnew

        public void setCurrent_xnew​(CPointer<MVert> current_xnew)
                             throws java.io.IOException
        Set method for struct member 'current_xnew'.

        Field Documentation

        Blender Source Code

        New position at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_xnew
      • getCurrent_x

        public CPointer<MVert> getCurrent_x()
                                     throws java.io.IOException
        Get method for struct member 'current_x'.

        Field Documentation

        Blender Source Code

        Position at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_x
      • setCurrent_x

        public void setCurrent_x​(CPointer<MVert> current_x)
                          throws java.io.IOException
        Set method for struct member 'current_x'.

        Field Documentation

        Blender Source Code

        Position at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_x
      • getCurrent_v

        public CPointer<MVert> getCurrent_v()
                                     throws java.io.IOException
        Get method for struct member 'current_v'.

        Field Documentation

        Blender Source Code

        (xnew - x) at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_v
      • setCurrent_v

        public void setCurrent_v​(CPointer<MVert> current_v)
                          throws java.io.IOException
        Set method for struct member 'current_v'.

        Field Documentation

        Blender Source Code

        (xnew - x) at the actual inter-frame step.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__current_v
      • getTri

        public CPointer<java.lang.Object> getTri()
                                          throws java.io.IOException
        Get method for struct member 'tri'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tri
      • setTri

        public void setTri​(CPointer<java.lang.Object> tri)
                    throws java.io.IOException
        Set method for struct member 'tri'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tri
      • getMvert_num

        public int getMvert_num()
                         throws java.io.IOException
        Get method for struct member 'mvert_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mvert_num
      • setMvert_num

        public void setMvert_num​(int mvert_num)
                          throws java.io.IOException
        Set method for struct member 'mvert_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mvert_num
      • getTri_num

        public int getTri_num()
                       throws java.io.IOException
        Get method for struct member 'tri_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tri_num
      • setTri_num

        public void setTri_num​(int tri_num)
                        throws java.io.IOException
        Set method for struct member 'tri_num'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__tri_num
      • getTime_x

        public float getTime_x()
                        throws java.io.IOException
        Get method for struct member 'time_x'.

        Field Documentation

        Blender Source Code

        Cfra time of modifier.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_x
      • setTime_x

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

        Field Documentation

        Blender Source Code

        Cfra time of modifier.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_x
      • getTime_xnew

        public float getTime_xnew()
                           throws java.io.IOException
        Get method for struct member 'time_xnew'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_xnew
      • setTime_xnew

        public void setTime_xnew​(float time_xnew)
                          throws java.io.IOException
        Set method for struct member 'time_xnew'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time_xnew
      • getIs_static

        public byte getIs_static()
                          throws java.io.IOException
        Get method for struct member 'is_static'.

        Field Documentation

        Blender Source Code

        Collider doesn't move this frame, i.e. x[].co==xnew[].co.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_static
      • setIs_static

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

        Field Documentation

        Blender Source Code

        Collider doesn't move this frame, i.e. x[].co==xnew[].co.

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

        public CPointer<java.lang.Object> getBvhtree()
                                              throws java.io.IOException
        Get method for struct member 'bvhtree'.

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy for this cloth object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bvhtree
      • setBvhtree

        public void setBvhtree​(CPointer<java.lang.Object> bvhtree)
                        throws java.io.IOException
        Set method for struct member 'bvhtree'.

        Field Documentation

        Blender Source Code

        Bounding volume hierarchy for this cloth object.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bvhtree