Class LightgroupMembership


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

    Class Documentation

    Blender Source Code

    Light-group membership information.

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Name of the Light-group.

        Pointer Arithmetics

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

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

        Metadata

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

      • LightgroupMembership

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

      • getName

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

        Field Documentation

        Blender Source Code

        Name of the Light-group.

        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 Source Code

        Name of the Light-group.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__name