Class SoftBody_Shared


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

    Class Documentation

    Blender Source Code

    Container for data that is shared among CoW copies.

    This is placed in a separate struct so that values can be changed without having to update all CoW copies.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         SoftBody_Shared softbody_shared = ...;
         CPointer<Object> p = softbody_shared.__dna__addressof(SoftBody_Shared.__DNA__FIELD__pointcache);
         CPointer<CPointer<PointCache>> p_pointcache = p.cast(new Class[]{CPointer.class, PointCache.class});
         

        Metadata

        • Field: 'pointcache'
        • Signature: 'PointCache*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__ptcaches

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

        Pointer Arithmetics

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

         SoftBody_Shared softbody_shared = ...;
         CPointer<Object> p = softbody_shared.__dna__addressof(SoftBody_Shared.__DNA__FIELD__ptcaches);
         CPointer<ListBase> p_ptcaches = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'ptcaches'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
    • Constructor Detail

      • SoftBody_Shared

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

      • setPointcache

        public void setPointcache​(CPointer<PointCache> pointcache)
                           throws java.io.IOException
        Set method for struct member 'pointcache'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pointcache
      • getPtcaches

        public ListBase getPtcaches()
                             throws java.io.IOException
        Get method for struct member 'ptcaches'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptcaches
      • setPtcaches

        public void setPtcaches​(ListBase ptcaches)
                         throws java.io.IOException
        Set method for struct member 'ptcaches'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ptcaches