Class ObHook
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ObHook
-
public class ObHook extends CFacade
Generated facet for DNA struct type 'ObHook'.Class Documentation
Blender Source Code
Warning, this is not used anymore because hooks are now modifiers
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__active
Field descriptor (offset) for struct member 'active'.static long[]
__DNA__FIELD__cent
Field descriptor (offset) for struct member 'cent'.static long[]
__DNA__FIELD__curindex
Field descriptor (offset) for struct member 'curindex'.static long[]
__DNA__FIELD__falloff
Field descriptor (offset) for struct member 'falloff'.static long[]
__DNA__FIELD__force
Field descriptor (offset) for struct member 'force'.static long[]
__DNA__FIELD__indexar
Field descriptor (offset) for struct member 'indexar'.static long[]
__DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.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__parent
Field descriptor (offset) for struct member 'parent'.static long[]
__DNA__FIELD__parentinv
Field descriptor (offset) for struct member 'parentinv'.static long[]
__DNA__FIELD__prev
Field descriptor (offset) for struct member 'prev'.static long[]
__DNA__FIELD__totindex
Field descriptor (offset) for struct member 'totindex'.static long[]
__DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ObHook.-
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 ObHook(long __address, Block __block, BlockTable __blockTable)
protected
ObHook(ObHook that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ObHook>
__io__addressof()
Instantiates a pointer on this instance.short
getActive()
Get method for struct member 'active'.CArrayFacade<java.lang.Float>
getCent()
Get method for struct member 'cent'.int
getCurindex()
Get method for struct member 'curindex'.float
getFalloff()
Get method for struct member 'falloff'.float
getForce()
Get method for struct member 'force'.CPointer<java.lang.Integer>
getIndexar()
Get method for struct member 'indexar'.CArrayFacade<CArrayFacade<java.lang.Float>>
getMat()
Get method for struct member 'mat'.CArrayFacade<java.lang.Byte>
getName()
Get method for struct member 'name'.CPointer<ObHook>
getNext()
Get method for struct member 'next'.CPointer<BlenderObject>
getParent()
Get method for struct member 'parent'.CArrayFacade<CArrayFacade<java.lang.Float>>
getParentinv()
Get method for struct member 'parentinv'.CPointer<ObHook>
getPrev()
Get method for struct member 'prev'.int
getTotindex()
Get method for struct member 'totindex'.short
getType()
Get method for struct member 'type'.void
setActive(short active)
Set method for struct member 'active'.void
setCent(CArrayFacade<java.lang.Float> cent)
Set method for struct member 'cent'.void
setCurindex(int curindex)
Set method for struct member 'curindex'.void
setFalloff(float falloff)
Set method for struct member 'falloff'.void
setForce(float force)
Set method for struct member 'force'.void
setIndexar(CPointer<java.lang.Integer> indexar)
Set method for struct member 'indexar'.void
setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat)
Set method for struct member 'mat'.void
setName(CArrayFacade<java.lang.Byte> name)
Set method for struct member 'name'.void
setNext(CPointer<ObHook> next)
Set method for struct member 'next'.void
setParent(CPointer<BlenderObject> parent)
Set method for struct member 'parent'.void
setParentinv(CArrayFacade<CArrayFacade<java.lang.Float>> parentinv)
Set method for struct member 'parentinv'.void
setPrev(CPointer<ObHook> prev)
Set method for struct member 'prev'.void
setTotindex(int totindex)
Set method for struct member 'totindex'.void
setType(short type)
Set method for struct member 'type'.-
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 ObHook.It is required when allocating a new block to store data for ObHook.
- 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:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__next); CPointer<CPointer<ObHook>> p_next = p.cast(new Class[]{CPointer.class, ObHook.class});
Metadata
- Field: 'next'
- Signature: 'ObHook*'
- 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:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__prev); CPointer<CPointer<ObHook>> p_prev = p.cast(new Class[]{CPointer.class, ObHook.class});
Metadata
- Field: 'prev'
- Signature: 'ObHook*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__parent
public static final long[] __DNA__FIELD__parent
Field descriptor (offset) for struct member 'parent'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__parent); CPointer<CPointer<BlenderObject>> p_parent = p.cast(new Class[]{CPointer.class, BlenderObject.class});
Metadata
- Field: 'parent'
- Signature: 'Object*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__parentinv
public static final long[] __DNA__FIELD__parentinv
Field descriptor (offset) for struct member 'parentinv'.Field Documentation
Blender Source Code
Matrix making current transform unmodified.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__parentinv); CPointer<CArrayFacade<CArrayFacade<Float>>> p_parentinv = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'parentinv'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__mat
public static final long[] __DNA__FIELD__mat
Field descriptor (offset) for struct member 'mat'.Field Documentation
Blender Source Code
Temp matrix while hooking.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__mat); CPointer<CArrayFacade<CArrayFacade<Float>>> p_mat = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
Metadata
- Field: 'mat'
- Signature: 'float[4][4]'
- Actual Size (32bit/64bit): 64/64
-
__DNA__FIELD__cent
public static final long[] __DNA__FIELD__cent
Field descriptor (offset) for struct member 'cent'.Field Documentation
Blender Source Code
Visualization of hook.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__cent); CPointer<CArrayFacade<Float>> p_cent = p.cast(new Class[]{CArrayFacade.class, Float.class});
Metadata
- Field: 'cent'
- Signature: 'float[3]'
- Actual Size (32bit/64bit): 12/12
-
__DNA__FIELD__falloff
public static final long[] __DNA__FIELD__falloff
Field descriptor (offset) for struct member 'falloff'.Field Documentation
Blender Source Code
If not zero, falloff is distance where influence zero.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__falloff); CPointer<Float> p_falloff = p.cast(new Class[]{Float.class});
Metadata
- Field: 'falloff'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__name
public static final long[] __DNA__FIELD__name
Field descriptor (offset) for struct member 'name'.Field Documentation
Blender Source Code
MAX_NAME.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__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__indexar
public static final long[] __DNA__FIELD__indexar
Field descriptor (offset) for struct member 'indexar'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__indexar); CPointer<CPointer<Integer>> p_indexar = p.cast(new Class[]{CPointer.class, Integer.class});
Metadata
- Field: 'indexar'
- Signature: 'int*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__totindex
public static final long[] __DNA__FIELD__totindex
Field descriptor (offset) for struct member 'totindex'.Field Documentation
Blender Source Code
Curindex is cache for fast lookup.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__totindex); CPointer<Integer> p_totindex = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'totindex'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__curindex
public static final long[] __DNA__FIELD__curindex
Field descriptor (offset) for struct member 'curindex'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__curindex); CPointer<Integer> p_curindex = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'curindex'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__type
public static final long[] __DNA__FIELD__type
Field descriptor (offset) for struct member 'type'.Field Documentation
Blender Source Code
Active is only first hook, for button menu.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__type); CPointer<Short> p_type = p.cast(new Class[]{Short.class});
Metadata
- Field: 'type'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__active
public static final long[] __DNA__FIELD__active
Field descriptor (offset) for struct member 'active'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__active); CPointer<Short> p_active = p.cast(new Class[]{Short.class});
Metadata
- Field: 'active'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__force
public static final long[] __DNA__FIELD__force
Field descriptor (offset) for struct member 'force'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ObHook obhook = ...; CPointer<Object> p = obhook.__dna__addressof(ObHook.__DNA__FIELD__force); CPointer<Float> p_force = p.cast(new Class[]{Float.class});
Metadata
- Field: 'force'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
ObHook
public ObHook(long __address, Block __block, BlockTable __blockTable)
-
ObHook
protected ObHook(ObHook that)
-
-
Method Detail
-
getNext
public CPointer<ObHook> 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<ObHook> next) throws java.io.IOException
Set method for struct member 'next'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__next
-
getPrev
public CPointer<ObHook> 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<ObHook> prev) throws java.io.IOException
Set method for struct member 'prev'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__prev
-
getParent
public CPointer<BlenderObject> getParent() throws java.io.IOException
Get method for struct member 'parent'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
setParent
public void setParent(CPointer<BlenderObject> parent) throws java.io.IOException
Set method for struct member 'parent'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parent
-
getParentinv
public CArrayFacade<CArrayFacade<java.lang.Float>> getParentinv() throws java.io.IOException
Get method for struct member 'parentinv'.Field Documentation
Blender Source Code
Matrix making current transform unmodified.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parentinv
-
setParentinv
public void setParentinv(CArrayFacade<CArrayFacade<java.lang.Float>> parentinv) throws java.io.IOException
Set method for struct member 'parentinv'.Field Documentation
Blender Source Code
Matrix making current transform unmodified.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__parentinv
-
getMat
public CArrayFacade<CArrayFacade<java.lang.Float>> getMat() throws java.io.IOException
Get method for struct member 'mat'.Field Documentation
Blender Source Code
Temp matrix while hooking.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
setMat
public void setMat(CArrayFacade<CArrayFacade<java.lang.Float>> mat) throws java.io.IOException
Set method for struct member 'mat'.Field Documentation
Blender Source Code
Temp matrix while hooking.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__mat
-
getCent
public CArrayFacade<java.lang.Float> getCent() throws java.io.IOException
Get method for struct member 'cent'.Field Documentation
Blender Source Code
Visualization of hook.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cent
-
setCent
public void setCent(CArrayFacade<java.lang.Float> cent) throws java.io.IOException
Set method for struct member 'cent'.Field Documentation
Blender Source Code
Visualization of hook.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__cent
-
getFalloff
public float getFalloff() throws java.io.IOException
Get method for struct member 'falloff'.Field Documentation
Blender Source Code
If not zero, falloff is distance where influence zero.
- 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'.Field Documentation
Blender Source Code
If not zero, falloff is distance where influence zero.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__falloff
-
getName
public CArrayFacade<java.lang.Byte> getName() throws java.io.IOException
Get method for struct member 'name'.Field Documentation
Blender 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 Source Code
MAX_NAME.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__name
-
getIndexar
public CPointer<java.lang.Integer> getIndexar() throws java.io.IOException
Get method for struct member 'indexar'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__indexar
-
setIndexar
public void setIndexar(CPointer<java.lang.Integer> indexar) throws java.io.IOException
Set method for struct member 'indexar'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__indexar
-
getTotindex
public int getTotindex() throws java.io.IOException
Get method for struct member 'totindex'.Field Documentation
Blender Source Code
Curindex is cache for fast lookup.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totindex
-
setTotindex
public void setTotindex(int totindex) throws java.io.IOException
Set method for struct member 'totindex'.Field Documentation
Blender Source Code
Curindex is cache for fast lookup.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__totindex
-
getCurindex
public int getCurindex() throws java.io.IOException
Get method for struct member 'curindex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curindex
-
setCurindex
public void setCurindex(int curindex) throws java.io.IOException
Set method for struct member 'curindex'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curindex
-
getType
public short getType() throws java.io.IOException
Get method for struct member 'type'.Field Documentation
Blender Source Code
Active is only first hook, for button menu.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
setType
public void setType(short type) throws java.io.IOException
Set method for struct member 'type'.Field Documentation
Blender Source Code
Active is only first hook, for button menu.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__type
-
getActive
public short getActive() throws java.io.IOException
Get method for struct member 'active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active
-
setActive
public void setActive(short active) throws java.io.IOException
Set method for struct member 'active'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__active
-
getForce
public float getForce() throws java.io.IOException
Get method for struct member 'force'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__force
-
setForce
public void setForce(float force) throws java.io.IOException
Set method for struct member 'force'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__force
-
-