Class RigidBodyWorld_Shared


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

    Class Documentation

    Blender Source Code


    RigidBody World Container for data shared by original and evaluated copies of RigidBodyWorld

    • Field Detail

      • __DNA__SDNA_INDEX

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

        It is required when allocating a new block to store data for RigidBodyWorld_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'.

        Field Documentation

        Blender Source Code

        cache

        Pointer Arithmetics

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

         RigidBodyWorld_Shared rigidbodyworld_shared = ...;
         CPointer<Object> p = rigidbodyworld_shared.__dna__addressof(RigidBodyWorld_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:

         RigidBodyWorld_Shared rigidbodyworld_shared = ...;
         CPointer<Object> p = rigidbodyworld_shared.__dna__addressof(RigidBodyWorld_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
      • __DNA__FIELD__physics_world

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

        Field Documentation

        Blender Source Code

        References to Physics Sim objects. Exist at runtime only ------------------- Physics sim world (i.e. btDiscreteDynamicsWorld).

        Pointer Arithmetics

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

         RigidBodyWorld_Shared rigidbodyworld_shared = ...;
         CPointer<Object> p = rigidbodyworld_shared.__dna__addressof(RigidBodyWorld_Shared.__DNA__FIELD__physics_world);
         CPointer<CPointer<Object>> p_physics_world = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

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

      • RigidBodyWorld_Shared

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

      • getPointcache

        public CPointer<PointCache> getPointcache()
                                           throws java.io.IOException
        Get method for struct member 'pointcache'.

        Field Documentation

        Blender Source Code

        cache

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__pointcache
      • setPointcache

        public void setPointcache​(CPointer<PointCache> pointcache)
                           throws java.io.IOException
        Set method for struct member 'pointcache'.

        Field Documentation

        Blender Source Code

        cache

        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
      • getPhysics_world

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

        Field Documentation

        Blender Source Code

        References to Physics Sim objects. Exist at runtime only ------------------- Physics sim world (i.e. btDiscreteDynamicsWorld).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__physics_world
      • setPhysics_world

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

        Field Documentation

        Blender Source Code

        References to Physics Sim objects. Exist at runtime only ------------------- Physics sim world (i.e. btDiscreteDynamicsWorld).

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__physics_world