Class ViewLayer
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ViewLayer
-
public class ViewLayer extends CFacade
Generated facet for DNA struct type 'ViewLayer'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.static long[]
__DNA__FIELD__active_aov
Field descriptor (offset) for struct member 'active_aov'.static long[]
__DNA__FIELD__active_collection
Field descriptor (offset) for struct member 'active_collection'.static long[]
__DNA__FIELD__active_lightgroup
Field descriptor (offset) for struct member 'active_lightgroup'.static long[]
__DNA__FIELD__aovs
Field descriptor (offset) for struct member 'aovs'.static long[]
__DNA__FIELD__basact
Field descriptor (offset) for struct member 'basact'.static long[]
__DNA__FIELD__cryptomatte_flag
Field descriptor (offset) for struct member 'cryptomatte_flag'.static long[]
__DNA__FIELD__cryptomatte_levels
Field descriptor (offset) for struct member 'cryptomatte_levels'.static long[]
__DNA__FIELD__drawdata
Field descriptor (offset) for struct member 'drawdata'.static long[]
__DNA__FIELD__eevee
Field descriptor (offset) for struct member 'eevee'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__freestyle_config
Field descriptor (offset) for struct member 'freestyle_config'.static long[]
__DNA__FIELD__id_properties
Field descriptor (offset) for struct member 'id_properties'.static long[]
__DNA__FIELD__layer_collections
Field descriptor (offset) for struct member 'layer_collections'.static long[]
__DNA__FIELD__layflag
Field descriptor (offset) for struct member 'layflag'.static long[]
__DNA__FIELD__lightgroups
Field descriptor (offset) for struct member 'lightgroups'.static long[]
__DNA__FIELD__mat_override
Field descriptor (offset) for struct member 'mat_override'.static long[]
__DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.static long[]
__DNA__FIELD__next
Field descriptor (offset) for struct member 'next'.static long[]
__DNA__FIELD__object_bases
Field descriptor (offset) for struct member 'object_bases'.static long[]
__DNA__FIELD__object_bases_array
Field descriptor (offset) for struct member 'object_bases_array'.static long[]
__DNA__FIELD__object_bases_hash
Field descriptor (offset) for struct member 'object_bases_hash'.static long[]
__DNA__FIELD__pass_alpha_threshold
Field descriptor (offset) for struct member 'pass_alpha_threshold'.static long[]
__DNA__FIELD__passflag
Field descriptor (offset) for struct member 'passflag'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__samples
Field descriptor (offset) for struct member 'samples'.static long[]
__DNA__FIELD__stats
Field descriptor (offset) for struct member 'stats'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ViewLayer.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description ViewLayer(long __address, Block __block, BlockTable __blockTable)
protected
ViewLayer(ViewLayer that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ViewLayer>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.CArrayFacade<java.lang.Byte>
get_pad1()
Get method for struct member '_pad1'.CPointer<ViewLayerAOV>
getActive_aov()
Get method for struct member 'active_aov'.CPointer<LayerCollection>
getActive_collection()
Get method for struct member 'active_collection'.CPointer<ViewLayerLightgroup>
getActive_lightgroup()
Get method for struct member 'active_lightgroup'.ListBase
getAovs()
Get method for struct member 'aovs'.CPointer<Base>
getBasact()
Get method for struct member 'basact'.short
getCryptomatte_flag()
Get method for struct member 'cryptomatte_flag'.short
getCryptomatte_levels()
Get method for struct member 'cryptomatte_levels'.ListBase
getDrawdata()
Get method for struct member 'drawdata'.ViewLayerEEVEE
getEevee()
Get method for struct member 'eevee'.short
getFlag()
Get method for struct member 'flag'.FreestyleConfig
getFreestyle_config()
Get method for struct member 'freestyle_config'.CPointer<IDProperty>
getId_properties()
Get method for struct member 'id_properties'.ListBase
getLayer_collections()
Get method for struct member 'layer_collections'.int
getLayflag()
Get method for struct member 'layflag'.ListBase
getLightgroups()
Get method for struct member 'lightgroups'.CPointer<Material>
getMat_override()
Get method for struct member 'mat_override'.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.CPointer<ViewLayer>
getNext()
Get method for struct member 'next'.ListBase
getObject_bases()
Get method for struct member 'object_bases'.CPointer<CPointer<Base>>
getObject_bases_array()
Get method for struct member 'object_bases_array'.CPointer<java.lang.Object>
getObject_bases_hash()
Get method for struct member 'object_bases_hash'.float
getPass_alpha_threshold()
Get method for struct member 'pass_alpha_threshold'.int
getPassflag()
Get method for struct member 'passflag'.CPointer<ViewLayer>
getPrev()
Get method for struct member 'prev'.int
getSamples()
Get method for struct member 'samples'.CPointer<java.lang.Object>
getStats()
Get method for struct member 'stats'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
set_pad1(CArrayFacade<java.lang.Byte> _pad1)
Set method for struct member '_pad1'.void
setActive_aov(CPointer<ViewLayerAOV> active_aov)
Set method for struct member 'active_aov'.void
setActive_collection(CPointer<LayerCollection> active_collection)
Set method for struct member 'active_collection'.void
setActive_lightgroup(CPointer<ViewLayerLightgroup> active_lightgroup)
Set method for struct member 'active_lightgroup'.void
setAovs(ListBase aovs)
Set method for struct member 'aovs'.void
setBasact(CPointer<Base> basact)
Set method for struct member 'basact'.void
setCryptomatte_flag(short cryptomatte_flag)
Set method for struct member 'cryptomatte_flag'.void
setCryptomatte_levels(short cryptomatte_levels)
Set method for struct member 'cryptomatte_levels'.void
setDrawdata(ListBase drawdata)
Set method for struct member 'drawdata'.void
setEevee(ViewLayerEEVEE eevee)
Set method for struct member 'eevee'.void
setFlag(short flag)
Set method for struct member 'flag'.void
setFreestyle_config(FreestyleConfig freestyle_config)
Set method for struct member 'freestyle_config'.void
setId_properties(CPointer<IDProperty> id_properties)
Set method for struct member 'id_properties'.void
setLayer_collections(ListBase layer_collections)
Set method for struct member 'layer_collections'.void
setLayflag(int layflag)
Set method for struct member 'layflag'.void
setLightgroups(ListBase lightgroups)
Set method for struct member 'lightgroups'.void
setMat_override(CPointer<Material> mat_override)
Set method for struct member 'mat_override'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setNext(CPointer<ViewLayer> next)
Set method for struct member 'next'.void
setObject_bases(ListBase object_bases)
Set method for struct member 'object_bases'.void
setObject_bases_array(CPointer<CPointer<Base>> object_bases_array)
Set method for struct member 'object_bases_array'.void
setObject_bases_hash(CPointer<java.lang.Object> object_bases_hash)
Set method for struct member 'object_bases_hash'.void
setPass_alpha_threshold(float pass_alpha_threshold)
Set method for struct member 'pass_alpha_threshold'.void
setPassflag(int passflag)
Set method for struct member 'passflag'.void
setPrev(CPointer<ViewLayer> prev)
Set method for struct member 'prev'.void
setSamples(int samples)
Set method for struct member 'samples'.void
setStats(CPointer<java.lang.Object> stats)
Set method for struct member 'stats'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct ViewLayer.It is required when allocating a new block to store data for ViewLayer.
- 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:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__next); CPointer<CPointer<ViewLayer>> p_next = p.cast(new Class[]{CPointer.class, ViewLayer.class});
Metadata
- Field: 'next'
- Signature: 'ViewLayer*'
- 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:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__prev); CPointer<CPointer<ViewLayer>> p_prev = p.cast(new Class[]{CPointer.class, ViewLayer.class});
Metadata
- Field: 'prev'
- Signature: 'ViewLayer*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Python API
View layer nameBlender Source Code
MAX_NAME.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__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
-
__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:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__flag); CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad
public static final long[] __DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[6]'
- Actual Size (32bit/64bit): 6/6
-
__DNA__FIELD__object_bases
public static final long[] __DNA__FIELD__object_bases
Field descriptor (offset) for struct member 'object_bases'.Field Documentation
Blender Source Code
ObjectBase.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__object_bases); CPointer<ListBase> p_object_bases = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'object_bases'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__stats
public static final long[] __DNA__FIELD__stats
Field descriptor (offset) for struct member 'stats'.Field Documentation
Blender Source Code
Default allocated now.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__stats); CPointer<CPointer<Object>> p_stats = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'stats'
- Signature: 'SceneStats*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__basact
public static final long[] __DNA__FIELD__basact
Field descriptor (offset) for struct member 'basact'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__basact); CPointer<CPointer<Base>> p_basact = p.cast(new Class[]{CPointer.class, Base.class});
Metadata
- Field: 'basact'
- Signature: 'Base*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__layer_collections
public static final long[] __DNA__FIELD__layer_collections
Field descriptor (offset) for struct member 'layer_collections'.Field Documentation
Blender Source Code
A view layer has one top level layer collection, because a scene has only one top level collection. The layer_collections list always contains a single element.
ListBase
is convenient when applying functions to all layer collections recursively.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__layer_collections); CPointer<ListBase> p_layer_collections = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'layer_collections'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__active_collection
public static final long[] __DNA__FIELD__active_collection
Field descriptor (offset) for struct member 'active_collection'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__active_collection); CPointer<CPointer<LayerCollection>> p_active_collection = p.cast(new Class[]{CPointer.class, LayerCollection.class});
Metadata
- Field: 'active_collection'
- Signature: 'LayerCollection*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__layflag
public static final long[] __DNA__FIELD__layflag
Field descriptor (offset) for struct member 'layflag'.Field Documentation
Blender Source Code
Old
SceneRenderLayer
data.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__layflag); CPointer<Integer> p_layflag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'layflag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__passflag
public static final long[] __DNA__FIELD__passflag
Field descriptor (offset) for struct member 'passflag'.Field Documentation
Blender Source Code
Pass_xor has to be after passflag.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__passflag); CPointer<Integer> p_passflag = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'passflag'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__pass_alpha_threshold
public static final long[] __DNA__FIELD__pass_alpha_threshold
Field descriptor (offset) for struct member 'pass_alpha_threshold'.Field Documentation
Blender Python API
Z, Index, normal, UV and vector passes are only affected by surfaces with alpha transparency equal to or higher than this thresholdPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__pass_alpha_threshold); CPointer<Float> p_pass_alpha_threshold = p.cast(new Class[]{Float.class});
Metadata
- Field: 'pass_alpha_threshold'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__cryptomatte_flag
public static final long[] __DNA__FIELD__cryptomatte_flag
Field descriptor (offset) for struct member 'cryptomatte_flag'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__cryptomatte_flag); CPointer<Short> p_cryptomatte_flag = p.cast(new Class[]{Short.class});
Metadata
- Field: 'cryptomatte_flag'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__cryptomatte_levels
public static final long[] __DNA__FIELD__cryptomatte_levels
Field descriptor (offset) for struct member 'cryptomatte_levels'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__cryptomatte_levels); CPointer<Short> p_cryptomatte_levels = p.cast(new Class[]{Short.class});
Metadata
- Field: 'cryptomatte_levels'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD___pad1
public static final long[] __DNA__FIELD___pad1
Field descriptor (offset) for struct member '_pad1'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD___pad1); CPointer<CArrayFacade<Byte>> p__pad1 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad1'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__samples
public static final long[] __DNA__FIELD__samples
Field descriptor (offset) for struct member 'samples'.Field Documentation
Blender Python API
Override number of render samples for this view layer, 0 will use the scene settingPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__samples); CPointer<Integer> p_samples = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'samples'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__mat_override
public static final long[] __DNA__FIELD__mat_override
Field descriptor (offset) for struct member 'mat_override'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__mat_override); CPointer<CPointer<Material>> p_mat_override = p.cast(new Class[]{CPointer.class, Material.class});
Metadata
- Field: 'mat_override'
- Signature: 'Material*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__id_properties
public static final long[] __DNA__FIELD__id_properties
Field descriptor (offset) for struct member 'id_properties'.Field Documentation
Blender Source Code
Equivalent to datablocks
ID
properties.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__id_properties); CPointer<CPointer<IDProperty>> p_id_properties = p.cast(new Class[]{CPointer.class, IDProperty.class});
Metadata
- Field: 'id_properties'
- Signature: 'IDProperty*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__freestyle_config
public static final long[] __DNA__FIELD__freestyle_config
Field descriptor (offset) for struct member 'freestyle_config'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__freestyle_config); CPointer<FreestyleConfig> p_freestyle_config = p.cast(new Class[]{FreestyleConfig.class});
Metadata
- Field: 'freestyle_config'
- Signature: 'FreestyleConfig'
- Actual Size (32bit/64bit): 40/56
-
__DNA__FIELD__eevee
public static final long[] __DNA__FIELD__eevee
Field descriptor (offset) for struct member 'eevee'.Field Documentation
Blender Python API
(read-only) View layer settings for EeveePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__eevee); CPointer<ViewLayerEEVEE> p_eevee = p.cast(new Class[]{ViewLayerEEVEE.class});
Metadata
- Field: 'eevee'
- Signature: 'ViewLayerEEVEE'
- Actual Size (32bit/64bit): 8/8
-
__DNA__FIELD__aovs
public static final long[] __DNA__FIELD__aovs
Field descriptor (offset) for struct member 'aovs'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the
sViewLayerAOV
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__aovs); CPointer<ListBase> p_aovs = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'aovs'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__active_aov
public static final long[] __DNA__FIELD__active_aov
Field descriptor (offset) for struct member 'active_aov'.Field Documentation
Blender Python API
(read-only) Active AOVPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__active_aov); CPointer<CPointer<ViewLayerAOV>> p_active_aov = p.cast(new Class[]{CPointer.class, ViewLayerAOV.class});
Metadata
- Field: 'active_aov'
- Signature: 'ViewLayerAOV*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__lightgroups
public static final long[] __DNA__FIELD__lightgroups
Field descriptor (offset) for struct member 'lightgroups'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the 'ViewLayerLightgroup`s
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__lightgroups); CPointer<ListBase> p_lightgroups = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'lightgroups'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__active_lightgroup
public static final long[] __DNA__FIELD__active_lightgroup
Field descriptor (offset) for struct member 'active_lightgroup'.Field Documentation
Blender Python API
(read-only) Active LightgroupPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__active_lightgroup); CPointer<CPointer<ViewLayerLightgroup>> p_active_lightgroup = p.cast(new Class[]{CPointer.class, ViewLayerLightgroup.class});
Metadata
- Field: 'active_lightgroup'
- Signature: 'ViewLayerLightgroup*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__drawdata
public static final long[] __DNA__FIELD__drawdata
Field descriptor (offset) for struct member 'drawdata'.Field Documentation
Blender Source Code
Runtime data
ViewLayerEngineData
.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__drawdata); CPointer<ListBase> p_drawdata = p.cast(new Class[]{ListBase.class});
Metadata
- Field: 'drawdata'
- Signature: 'ListBase'
- Actual Size (32bit/64bit): 8/16
-
__DNA__FIELD__object_bases_array
public static final long[] __DNA__FIELD__object_bases_array
Field descriptor (offset) for struct member 'object_bases_array'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__object_bases_array); CPointer<CPointer<CPointer<Base>>> p_object_bases_array = p.cast(new Class[]{CPointer.class, CPointer.class, Base.class});
Metadata
- Field: 'object_bases_array'
- Signature: 'Base**'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__object_bases_hash
public static final long[] __DNA__FIELD__object_bases_hash
Field descriptor (offset) for struct member 'object_bases_hash'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ViewLayer viewlayer = ...; CPointer<Object> p = viewlayer.__dna__addressof(ViewLayer.__DNA__FIELD__object_bases_hash); CPointer<CPointer<Object>> p_object_bases_hash = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'object_bases_hash'
- Signature: 'GHash*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
ViewLayer
public ViewLayer(long __address, Block __block, BlockTable __blockTable)
-
ViewLayer
protected ViewLayer(ViewLayer that)
-
-
Method Detail
-
getNext
public CPointer<ViewLayer> getNext() throws java.io.IOException
Get method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
setNext
public void setNext(CPointer<ViewLayer> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<ViewLayer> getPrev() throws java.io.IOException
Get method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
setPrev
public void setPrev(CPointer<ViewLayer> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender Python API
View layer nameBlender Source Code
MAX_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
View layer nameBlender Source Code
MAX_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getFlag
public short getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(short flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
get_pad
public CArrayFacade<java.lang.Byte> get_pad() throws java.io.IOException
Get method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
set_pad
public void set_pad(CArrayFacade<java.lang.Byte> _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getObject_bases
public ListBase getObject_bases() throws java.io.IOException
Get method for struct member 'object_bases'.Field Documentation
Blender Source Code
ObjectBase.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases
-
setObject_bases
public void setObject_bases(ListBase object_bases) throws java.io.IOException
Set method for struct member 'object_bases'.Field Documentation
Blender Source Code
ObjectBase.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases
-
getStats
public CPointer<java.lang.Object> getStats() throws java.io.IOException
Get method for struct member 'stats'.Field Documentation
Blender Source Code
Default allocated now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stats
-
setStats
public void setStats(CPointer<java.lang.Object> stats) throws java.io.IOException
Set method for struct member 'stats'.Field Documentation
Blender Source Code
Default allocated now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__stats
-
getBasact
public CPointer<Base> getBasact() throws java.io.IOException
Get method for struct member 'basact'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__basact
-
setBasact
public void setBasact(CPointer<Base> basact) throws java.io.IOException
Set method for struct member 'basact'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__basact
-
getLayer_collections
public ListBase getLayer_collections() throws java.io.IOException
Get method for struct member 'layer_collections'.Field Documentation
Blender Source Code
A view layer has one top level layer collection, because a scene has only one top level collection. The layer_collections list always contains a single element.
ListBase
is convenient when applying functions to all layer collections recursively.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layer_collections
-
setLayer_collections
public void setLayer_collections(ListBase layer_collections) throws java.io.IOException
Set method for struct member 'layer_collections'.Field Documentation
Blender Source Code
A view layer has one top level layer collection, because a scene has only one top level collection. The layer_collections list always contains a single element.
ListBase
is convenient when applying functions to all layer collections recursively.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layer_collections
-
getActive_collection
public CPointer<LayerCollection> getActive_collection() throws java.io.IOException
Get method for struct member 'active_collection'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_collection
-
setActive_collection
public void setActive_collection(CPointer<LayerCollection> active_collection) throws java.io.IOException
Set method for struct member 'active_collection'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_collection
-
getLayflag
public int getLayflag() throws java.io.IOException
Get method for struct member 'layflag'.Field Documentation
Blender Source Code
Old
SceneRenderLayer
data.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layflag
-
setLayflag
public void setLayflag(int layflag) throws java.io.IOException
Set method for struct member 'layflag'.Field Documentation
Blender Source Code
Old
SceneRenderLayer
data.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__layflag
-
getPassflag
public int getPassflag() throws java.io.IOException
Get method for struct member 'passflag'.Field Documentation
Blender Source Code
Pass_xor has to be after passflag.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__passflag
-
setPassflag
public void setPassflag(int passflag) throws java.io.IOException
Set method for struct member 'passflag'.Field Documentation
Blender Source Code
Pass_xor has to be after passflag.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__passflag
-
getPass_alpha_threshold
public float getPass_alpha_threshold() throws java.io.IOException
Get method for struct member 'pass_alpha_threshold'.Field Documentation
Blender Python API
Z, Index, normal, UV and vector passes are only affected by surfaces with alpha transparency equal to or higher than this threshold- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pass_alpha_threshold
-
setPass_alpha_threshold
public void setPass_alpha_threshold(float pass_alpha_threshold) throws java.io.IOException
Set method for struct member 'pass_alpha_threshold'.Field Documentation
Blender Python API
Z, Index, normal, UV and vector passes are only affected by surfaces with alpha transparency equal to or higher than this threshold- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__pass_alpha_threshold
-
getCryptomatte_flag
public short getCryptomatte_flag() throws java.io.IOException
Get method for struct member 'cryptomatte_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cryptomatte_flag
-
setCryptomatte_flag
public void setCryptomatte_flag(short cryptomatte_flag) throws java.io.IOException
Set method for struct member 'cryptomatte_flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cryptomatte_flag
-
getCryptomatte_levels
public short getCryptomatte_levels() throws java.io.IOException
Get method for struct member 'cryptomatte_levels'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cryptomatte_levels
-
setCryptomatte_levels
public void setCryptomatte_levels(short cryptomatte_levels) throws java.io.IOException
Set method for struct member 'cryptomatte_levels'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cryptomatte_levels
-
get_pad1
public CArrayFacade<java.lang.Byte> get_pad1() throws java.io.IOException
Get method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
set_pad1
public void set_pad1(CArrayFacade<java.lang.Byte> _pad1) throws java.io.IOException
Set method for struct member '_pad1'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad1
-
getSamples
public int getSamples() throws java.io.IOException
Get method for struct member 'samples'.Field Documentation
Blender Python API
Override number of render samples for this view layer, 0 will use the scene setting- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__samples
-
setSamples
public void setSamples(int samples) throws java.io.IOException
Set method for struct member 'samples'.Field Documentation
Blender Python API
Override number of render samples for this view layer, 0 will use the scene setting- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__samples
-
getMat_override
public CPointer<Material> getMat_override() throws java.io.IOException
Get method for struct member 'mat_override'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_override
-
setMat_override
public void setMat_override(CPointer<Material> mat_override) throws java.io.IOException
Set method for struct member 'mat_override'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat_override
-
getId_properties
public CPointer<IDProperty> getId_properties() throws java.io.IOException
Get method for struct member 'id_properties'.Field Documentation
Blender Source Code
Equivalent to datablocks
ID
properties.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id_properties
-
setId_properties
public void setId_properties(CPointer<IDProperty> id_properties) throws java.io.IOException
Set method for struct member 'id_properties'.Field Documentation
Blender Source Code
Equivalent to datablocks
ID
properties.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__id_properties
-
getFreestyle_config
public FreestyleConfig getFreestyle_config() throws java.io.IOException
Get method for struct member 'freestyle_config'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__freestyle_config
-
setFreestyle_config
public void setFreestyle_config(FreestyleConfig freestyle_config) throws java.io.IOException
Set method for struct member 'freestyle_config'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__freestyle_config
-
getEevee
public ViewLayerEEVEE getEevee() throws java.io.IOException
Get method for struct member 'eevee'.Field Documentation
Blender Python API
(read-only) View layer settings for Eevee- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__eevee
-
setEevee
public void setEevee(ViewLayerEEVEE eevee) throws java.io.IOException
Set method for struct member 'eevee'.Field Documentation
Blender Python API
(read-only) View layer settings for Eevee- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__eevee
-
getAovs
public ListBase getAovs() throws java.io.IOException
Get method for struct member 'aovs'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the
sViewLayerAOV
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aovs
-
setAovs
public void setAovs(ListBase aovs) throws java.io.IOException
Set method for struct member 'aovs'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the
sViewLayerAOV
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__aovs
-
getActive_aov
public CPointer<ViewLayerAOV> getActive_aov() throws java.io.IOException
Get method for struct member 'active_aov'.Field Documentation
Blender Python API
(read-only) Active AOV- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_aov
-
setActive_aov
public void setActive_aov(CPointer<ViewLayerAOV> active_aov) throws java.io.IOException
Set method for struct member 'active_aov'.Field Documentation
Blender Python API
(read-only) Active AOV- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_aov
-
getLightgroups
public ListBase getLightgroups() throws java.io.IOException
Get method for struct member 'lightgroups'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the 'ViewLayerLightgroup`s
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lightgroups
-
setLightgroups
public void setLightgroups(ListBase lightgroups) throws java.io.IOException
Set method for struct member 'lightgroups'.Field Documentation
Blender Python API
(read-only)Blender Source Code
List containing the 'ViewLayerLightgroup`s
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__lightgroups
-
getActive_lightgroup
public CPointer<ViewLayerLightgroup> getActive_lightgroup() throws java.io.IOException
Get method for struct member 'active_lightgroup'.Field Documentation
Blender Python API
(read-only) Active Lightgroup- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_lightgroup
-
setActive_lightgroup
public void setActive_lightgroup(CPointer<ViewLayerLightgroup> active_lightgroup) throws java.io.IOException
Set method for struct member 'active_lightgroup'.Field Documentation
Blender Python API
(read-only) Active Lightgroup- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active_lightgroup
-
getDrawdata
public ListBase getDrawdata() throws java.io.IOException
Get method for struct member 'drawdata'.Field Documentation
Blender Source Code
Runtime data
ViewLayerEngineData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__drawdata
-
setDrawdata
public void setDrawdata(ListBase drawdata) throws java.io.IOException
Set method for struct member 'drawdata'.Field Documentation
Blender Source Code
Runtime data
ViewLayerEngineData
.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__drawdata
-
getObject_bases_array
public CPointer<CPointer<Base>> getObject_bases_array() throws java.io.IOException
Get method for struct member 'object_bases_array'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases_array
-
setObject_bases_array
public void setObject_bases_array(CPointer<CPointer<Base>> object_bases_array) throws java.io.IOException
Set method for struct member 'object_bases_array'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases_array
-
getObject_bases_hash
public CPointer<java.lang.Object> getObject_bases_hash() throws java.io.IOException
Get method for struct member 'object_bases_hash'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases_hash
-
setObject_bases_hash
public void setObject_bases_hash(CPointer<java.lang.Object> object_bases_hash) throws java.io.IOException
Set method for struct member 'object_bases_hash'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__object_bases_hash
-
-