Class BoidState


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__next);
         CPointer<CPointer<BoidState>> p_next = p.cast(new Class[]{CPointer.class, BoidState.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'BoidState*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__prev);
         CPointer<CPointer<BoidState>> p_prev = p.cast(new Class[]{CPointer.class, BoidState.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'BoidState*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__rules

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

        Field Documentation

        Blender Python API

        (read-only)

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__rules);
         CPointer<ListBase> p_rules = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'rules'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__conditions

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__conditions);
         CPointer<ListBase> p_conditions = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'conditions'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__actions

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__actions);
         CPointer<ListBase> p_actions = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'actions'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__name

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

        Field Documentation

        Blender Python API

        Boid state name

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__name);
         CPointer<CArrayFacade<Byte>> p_name = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__id);
         CPointer<Integer> p_id = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__flag);
         CPointer<Integer> p_flag = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__ruleset_type

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

        Field Documentation

        Blender Python API

        How the rules in the list are evaluated

        Blender Source Code

        rules

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__ruleset_type);
         CPointer<Integer> p_ruleset_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'ruleset_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__rule_fuzziness

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__rule_fuzziness);
         CPointer<Float> p_rule_fuzziness = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'rule_fuzziness'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__signal_id

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

        Field Documentation

        Blender Source Code

        signal

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__signal_id);
         CPointer<Integer> p_signal_id = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'signal_id'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__channels

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__channels);
         CPointer<Integer> p_channels = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'channels'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__volume

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__volume);
         CPointer<Float> p_volume = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'volume'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__falloff

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

        Pointer Arithmetics

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

         BoidState boidstate = ...;
         CPointer<Object> p = boidstate.__dna__addressof(BoidState.__DNA__FIELD__falloff);
         CPointer<Float> p_falloff = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • BoidState

        public BoidState​(long __address,
                         Block __block,
                         BlockTable __blockTable)
      • BoidState

        protected BoidState​(BoidState that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<BoidState> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<BoidState> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getRules

        public ListBase getRules()
                          throws java.io.IOException
        Get method for struct member 'rules'.

        Field Documentation

        Blender Python API

        (read-only)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rules
      • setRules

        public void setRules​(ListBase rules)
                      throws java.io.IOException
        Set method for struct member 'rules'.

        Field Documentation

        Blender Python API

        (read-only)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rules
      • getConditions

        public ListBase getConditions()
                               throws java.io.IOException
        Get method for struct member 'conditions'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__conditions
      • setConditions

        public void setConditions​(ListBase conditions)
                           throws java.io.IOException
        Set method for struct member 'conditions'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__conditions
      • getActions

        public ListBase getActions()
                            throws java.io.IOException
        Get method for struct member 'actions'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actions
      • setActions

        public void setActions​(ListBase actions)
                        throws java.io.IOException
        Set method for struct member 'actions'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__actions
      • getName

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

        Field Documentation

        Blender Python API

        Boid state name
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • setName

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

        Field Documentation

        Blender Python API

        Boid state name
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name
      • getId

        public int getId()
                  throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(int id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getFlag

        public int getFlag()
                    throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(int flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getRuleset_type

        public int getRuleset_type()
                            throws java.io.IOException
        Get method for struct member 'ruleset_type'.

        Field Documentation

        Blender Python API

        How the rules in the list are evaluated

        Blender Source Code

        rules

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ruleset_type
      • setRuleset_type

        public void setRuleset_type​(int ruleset_type)
                             throws java.io.IOException
        Set method for struct member 'ruleset_type'.

        Field Documentation

        Blender Python API

        How the rules in the list are evaluated

        Blender Source Code

        rules

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__ruleset_type
      • getRule_fuzziness

        public float getRule_fuzziness()
                                throws java.io.IOException
        Get method for struct member 'rule_fuzziness'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rule_fuzziness
      • setRule_fuzziness

        public void setRule_fuzziness​(float rule_fuzziness)
                               throws java.io.IOException
        Set method for struct member 'rule_fuzziness'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__rule_fuzziness
      • getSignal_id

        public int getSignal_id()
                         throws java.io.IOException
        Get method for struct member 'signal_id'.

        Field Documentation

        Blender Source Code

        signal

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__signal_id
      • setSignal_id

        public void setSignal_id​(int signal_id)
                          throws java.io.IOException
        Set method for struct member 'signal_id'.

        Field Documentation

        Blender Source Code

        signal

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__signal_id
      • getChannels

        public int getChannels()
                        throws java.io.IOException
        Get method for struct member 'channels'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__channels
      • setChannels

        public void setChannels​(int channels)
                         throws java.io.IOException
        Set method for struct member 'channels'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__channels
      • getVolume

        public float getVolume()
                        throws java.io.IOException
        Get method for struct member 'volume'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__volume
      • setVolume

        public void setVolume​(float volume)
                       throws java.io.IOException
        Set method for struct member 'volume'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__volume
      • getFalloff

        public float getFalloff()
                         throws java.io.IOException
        Get method for struct member 'falloff'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • setFalloff

        public void setFalloff​(float falloff)
                        throws java.io.IOException
        Set method for struct member 'falloff'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__falloff
      • __io__addressof

        public CPointer<BoidState> __io__addressof()
        Instantiates a pointer on this instance.