Class Sculpt
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.Sculpt
-
public class Sculpt extends CFacade
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__automasking_flags
Field descriptor (offset) for struct member 'automasking_flags'.static long[]
__DNA__FIELD__constant_detail
Field descriptor (offset) for struct member 'constant_detail'.static long[]
__DNA__FIELD__detail_percent
Field descriptor (offset) for struct member 'detail_percent'.static long[]
__DNA__FIELD__detail_size
Field descriptor (offset) for struct member 'detail_size'.static long[]
__DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.static long[]
__DNA__FIELD__gravity_factor
Field descriptor (offset) for struct member 'gravity_factor'.static long[]
__DNA__FIELD__gravity_object
Field descriptor (offset) for struct member 'gravity_object'.static long[]
__DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.static long[]
__DNA__FIELD__radial_symm
Field descriptor (offset) for struct member 'radial_symm'.static long[]
__DNA__FIELD__symmetrize_direction
Field descriptor (offset) for struct member 'symmetrize_direction'.static long[]
__DNA__FIELD__transform_mode
Field descriptor (offset) for struct member 'transform_mode'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct Sculpt.-
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 Sculpt(long __address, Block __block, BlockTable __blockTable)
protected
Sculpt(Sculpt that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<Sculpt>
__io__addressof()
Instantiates a pointer on this instance.CArrayFacade<java.lang.Byte>
get_pad()
Get method for struct member '_pad'.int
getAutomasking_flags()
Get method for struct member 'automasking_flags'.float
getConstant_detail()
Get method for struct member 'constant_detail'.float
getDetail_percent()
Get method for struct member 'detail_percent'.float
getDetail_size()
Get method for struct member 'detail_size'.int
getFlags()
Get method for struct member 'flags'.float
getGravity_factor()
Get method for struct member 'gravity_factor'.CPointer<BlenderObject>
getGravity_object()
Get method for struct member 'gravity_object'.Paint
getPaint()
Get method for struct member 'paint'.CArrayFacade<java.lang.Integer>
getRadial_symm()
Get method for struct member 'radial_symm'.int
getSymmetrize_direction()
Get method for struct member 'symmetrize_direction'.int
getTransform_mode()
Get method for struct member 'transform_mode'.void
set_pad(CArrayFacade<java.lang.Byte> _pad)
Set method for struct member '_pad'.void
setAutomasking_flags(int automasking_flags)
Set method for struct member 'automasking_flags'.void
setConstant_detail(float constant_detail)
Set method for struct member 'constant_detail'.void
setDetail_percent(float detail_percent)
Set method for struct member 'detail_percent'.void
setDetail_size(float detail_size)
Set method for struct member 'detail_size'.void
setFlags(int flags)
Set method for struct member 'flags'.void
setGravity_factor(float gravity_factor)
Set method for struct member 'gravity_factor'.void
setGravity_object(CPointer<BlenderObject> gravity_object)
Set method for struct member 'gravity_object'.void
setPaint(Paint paint)
Set method for struct member 'paint'.void
setRadial_symm(CArrayFacade<java.lang.Integer> radial_symm)
Set method for struct member 'radial_symm'.void
setSymmetrize_direction(int symmetrize_direction)
Set method for struct member 'symmetrize_direction'.void
setTransform_mode(int transform_mode)
Set method for struct member 'transform_mode'.-
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 Sculpt.It is required when allocating a new block to store data for Sculpt.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__paint
public static final long[] __DNA__FIELD__paint
Field descriptor (offset) for struct member 'paint'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__paint); CPointer<Paint> p_paint = p.cast(new Class[]{Paint.class});
Metadata
- Field: 'paint'
- Signature: 'Paint'
- Actual Size (32bit/64bit): 68/88
-
__DNA__FIELD__flags
public static final long[] __DNA__FIELD__flags
Field descriptor (offset) for struct member 'flags'.Field Documentation
Blender Source Code
float pivot[3]; XXX not used?
For rotating around a pivot point
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__flags); CPointer<Integer> p_flags = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'flags'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__transform_mode
public static final long[] __DNA__FIELD__transform_mode
Field descriptor (offset) for struct member 'transform_mode'.Field Documentation
Blender Python API
How the transformation is going to be applied to the targetBlender Source Code
Transform tool.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__transform_mode); CPointer<Integer> p_transform_mode = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'transform_mode'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__automasking_flags
public static final long[] __DNA__FIELD__automasking_flags
Field descriptor (offset) for struct member 'automasking_flags'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__automasking_flags); CPointer<Integer> p_automasking_flags = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'automasking_flags'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__radial_symm
public static final long[] __DNA__FIELD__radial_symm
Field descriptor (offset) for struct member 'radial_symm'.Field Documentation
Blender Source Code
char tablet_size, tablet_strength; XXX not used?
Control tablet input
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__radial_symm); CPointer<CArrayFacade<Integer>> p_radial_symm = p.cast(new Class[]{CArrayFacade.class, Integer.class});
Metadata
- Field: 'radial_symm'
- Signature: 'int[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__detail_size
public static final long[] __DNA__FIELD__detail_size
Field descriptor (offset) for struct member 'detail_size'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in pixels)Blender Source Code
Maximum edge length for dynamic topology sculpting (in pixels)
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__detail_size); CPointer<Float> p_detail_size = p.cast(new Class[]{Float.class});
Metadata
- Field: 'detail_size'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__symmetrize_direction
public static final long[] __DNA__FIELD__symmetrize_direction
Field descriptor (offset) for struct member 'symmetrize_direction'.Field Documentation
Blender Python API
Source and destination for symmetrize operatorBlender Source Code
Direction used for SCULPT_OT_symmetrize operator
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__symmetrize_direction); CPointer<Integer> p_symmetrize_direction = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'symmetrize_direction'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gravity_factor
public static final long[] __DNA__FIELD__gravity_factor
Field descriptor (offset) for struct member 'gravity_factor'.Field Documentation
Blender Source Code
gravity factor for sculpting
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__gravity_factor); CPointer<Float> p_gravity_factor = p.cast(new Class[]{Float.class});
Metadata
- Field: 'gravity_factor'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__constant_detail
public static final long[] __DNA__FIELD__constant_detail
Field descriptor (offset) for struct member 'constant_detail'.Field Documentation
Blender Source Code
scale for constant detail size Constant detail resolution (Blender unit / constant_detail).
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__constant_detail); CPointer<Float> p_constant_detail = p.cast(new Class[]{Float.class});
Metadata
- Field: 'constant_detail'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__detail_percent
public static final long[] __DNA__FIELD__detail_percent
Field descriptor (offset) for struct member 'detail_percent'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in brush percenage)Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__detail_percent); CPointer<Float> p_detail_percent = p.cast(new Class[]{Float.class});
Metadata
- Field: 'detail_percent'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__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:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD___pad); CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char[4]'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__gravity_object
public static final long[] __DNA__FIELD__gravity_object
Field descriptor (offset) for struct member 'gravity_object'.Field Documentation
Blender Python API
Object whose Z axis defines orientation of gravityPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
Sculpt sculpt = ...; CPointer<Object> p = sculpt.__dna__addressof(Sculpt.__DNA__FIELD__gravity_object); CPointer<CPointer<BlenderObject>> p_gravity_object = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'gravity_object'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
Sculpt
public Sculpt(long __address, Block __block, BlockTable __blockTable)
-
Sculpt
protected Sculpt(Sculpt that)
-
-
Method Detail
-
getPaint
public Paint getPaint() throws java.io.IOException
Get method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
setPaint
public void setPaint(Paint paint) throws java.io.IOException
Set method for struct member 'paint'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__paint
-
getFlags
public int getFlags() throws java.io.IOException
Get method for struct member 'flags'.Field Documentation
Blender Source Code
float pivot[3]; XXX not used?
For rotating around a pivot point
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
setFlags
public void setFlags(int flags) throws java.io.IOException
Set method for struct member 'flags'.Field Documentation
Blender Source Code
float pivot[3]; XXX not used?
For rotating around a pivot point
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flags
-
getTransform_mode
public int getTransform_mode() throws java.io.IOException
Get method for struct member 'transform_mode'.Field Documentation
Blender Python API
How the transformation is going to be applied to the targetBlender Source Code
Transform tool.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__transform_mode
-
setTransform_mode
public void setTransform_mode(int transform_mode) throws java.io.IOException
Set method for struct member 'transform_mode'.Field Documentation
Blender Python API
How the transformation is going to be applied to the targetBlender Source Code
Transform tool.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__transform_mode
-
getAutomasking_flags
public int getAutomasking_flags() throws java.io.IOException
Get method for struct member 'automasking_flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__automasking_flags
-
setAutomasking_flags
public void setAutomasking_flags(int automasking_flags) throws java.io.IOException
Set method for struct member 'automasking_flags'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__automasking_flags
-
getRadial_symm
public CArrayFacade<java.lang.Integer> getRadial_symm() throws java.io.IOException
Get method for struct member 'radial_symm'.Field Documentation
Blender Source Code
char tablet_size, tablet_strength; XXX not used?
Control tablet input
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radial_symm
-
setRadial_symm
public void setRadial_symm(CArrayFacade<java.lang.Integer> radial_symm) throws java.io.IOException
Set method for struct member 'radial_symm'.Field Documentation
Blender Source Code
char tablet_size, tablet_strength; XXX not used?
Control tablet input
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radial_symm
-
getDetail_size
public float getDetail_size() throws java.io.IOException
Get method for struct member 'detail_size'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in pixels)Blender Source Code
Maximum edge length for dynamic topology sculpting (in pixels)
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__detail_size
-
setDetail_size
public void setDetail_size(float detail_size) throws java.io.IOException
Set method for struct member 'detail_size'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in pixels)Blender Source Code
Maximum edge length for dynamic topology sculpting (in pixels)
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__detail_size
-
getSymmetrize_direction
public int getSymmetrize_direction() throws java.io.IOException
Get method for struct member 'symmetrize_direction'.Field Documentation
Blender Python API
Source and destination for symmetrize operatorBlender Source Code
Direction used for SCULPT_OT_symmetrize operator
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetrize_direction
-
setSymmetrize_direction
public void setSymmetrize_direction(int symmetrize_direction) throws java.io.IOException
Set method for struct member 'symmetrize_direction'.Field Documentation
Blender Python API
Source and destination for symmetrize operatorBlender Source Code
Direction used for SCULPT_OT_symmetrize operator
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__symmetrize_direction
-
getGravity_factor
public float getGravity_factor() throws java.io.IOException
Get method for struct member 'gravity_factor'.Field Documentation
Blender Source Code
gravity factor for sculpting
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity_factor
-
setGravity_factor
public void setGravity_factor(float gravity_factor) throws java.io.IOException
Set method for struct member 'gravity_factor'.Field Documentation
Blender Source Code
gravity factor for sculpting
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity_factor
-
getConstant_detail
public float getConstant_detail() throws java.io.IOException
Get method for struct member 'constant_detail'.Field Documentation
Blender Source Code
scale for constant detail size Constant detail resolution (Blender unit / constant_detail).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__constant_detail
-
setConstant_detail
public void setConstant_detail(float constant_detail) throws java.io.IOException
Set method for struct member 'constant_detail'.Field Documentation
Blender Source Code
scale for constant detail size Constant detail resolution (Blender unit / constant_detail).
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__constant_detail
-
getDetail_percent
public float getDetail_percent() throws java.io.IOException
Get method for struct member 'detail_percent'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in brush percenage)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__detail_percent
-
setDetail_percent
public void setDetail_percent(float detail_percent) throws java.io.IOException
Set method for struct member 'detail_percent'.Field Documentation
Blender Python API
Maximum edge length for dynamic topology sculpting (in brush percenage)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__detail_percent
-
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
-
getGravity_object
public CPointer<BlenderObject> getGravity_object() throws java.io.IOException
Get method for struct member 'gravity_object'.Field Documentation
Blender Python API
Object whose Z axis defines orientation of gravity- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity_object
-
setGravity_object
public void setGravity_object(CPointer<BlenderObject> gravity_object) throws java.io.IOException
Set method for struct member 'gravity_object'.Field Documentation
Blender Python API
Object whose Z axis defines orientation of gravity- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__gravity_object
-
-