Class BoidRuleFollowLeader


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__rule);
         CPointer<BoidRule> p_rule = p.cast(new Class[]{BoidRule.class});
         

        Metadata

        • Field: 'rule'
        • Signature: 'BoidRule'
        • Actual Size (32bit/64bit): 48/56
      • __DNA__FIELD__ob

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__ob);
         CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__loc);
         CPointer<CArrayFacade<Float>> p_loc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'loc'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__oloc

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__oloc);
         CPointer<CArrayFacade<Float>> p_oloc = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'oloc'
        • Signature: 'float[3]'
        • Actual Size (32bit/64bit): 12/12
      • __DNA__FIELD__cfra

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__cfra);
         CPointer<Float> p_cfra = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'cfra'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__distance

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

        Field Documentation

        Blender Python API

        Distance behind leader to follow

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__distance);
         CPointer<Float> p_distance = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'distance'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__options

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__options);
         CPointer<Integer> p_options = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'options'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__queue_size

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

        Pointer Arithmetics

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

         BoidRuleFollowLeader boidrulefollowleader = ...;
         CPointer<Object> p = boidrulefollowleader.__dna__addressof(BoidRuleFollowLeader.__DNA__FIELD__queue_size);
         CPointer<Integer> p_queue_size = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'queue_size'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • BoidRuleFollowLeader

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

      • getRule

        public BoidRule getRule()
                         throws java.io.IOException
        Get method for struct member 'rule'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rule
      • setRule

        public void setRule​(BoidRule rule)
                     throws java.io.IOException
        Set method for struct member 'rule'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rule
      • getLoc

        public CArrayFacade<java.lang.Float> getLoc()
                                             throws java.io.IOException
        Get method for struct member 'loc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • setLoc

        public void setLoc​(CArrayFacade<java.lang.Float> loc)
                    throws java.io.IOException
        Set method for struct member 'loc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__loc
      • getOloc

        public CArrayFacade<java.lang.Float> getOloc()
                                              throws java.io.IOException
        Get method for struct member 'oloc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oloc
      • setOloc

        public void setOloc​(CArrayFacade<java.lang.Float> oloc)
                     throws java.io.IOException
        Set method for struct member 'oloc'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__oloc
      • getCfra

        public float getCfra()
                      throws java.io.IOException
        Get method for struct member 'cfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cfra
      • setCfra

        public void setCfra​(float cfra)
                     throws java.io.IOException
        Set method for struct member 'cfra'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__cfra
      • getDistance

        public float getDistance()
                          throws java.io.IOException
        Get method for struct member 'distance'.

        Field Documentation

        Blender Python API

        Distance behind leader to follow
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance
      • setDistance

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

        Field Documentation

        Blender Python API

        Distance behind leader to follow
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__distance
      • getOptions

        public int getOptions()
                       throws java.io.IOException
        Get method for struct member 'options'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__options
      • setOptions

        public void setOptions​(int options)
                        throws java.io.IOException
        Set method for struct member 'options'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__options
      • getQueue_size

        public int getQueue_size()
                          throws java.io.IOException
        Get method for struct member 'queue_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__queue_size
      • setQueue_size

        public void setQueue_size​(int queue_size)
                           throws java.io.IOException
        Set method for struct member 'queue_size'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__queue_size