c4d.modules.character.CAMorphNode
¶
c4d.modules.character.
CAMorphNode
¶
CAMorphNode.GetPointCount()
CAMorphNode.SetPointCount()
CAMorphNode.GetPoint()
CAMorphNode.SetPoint()
CAMorphNode.GetTangentCount()
CAMorphNode.SetTangentCount()
CAMorphNode.GetTangent()
CAMorphNode.SetTangent()
CAMorphNode.GetVertexMapTagCount()
CAMorphNode.GetVertexMapCount()
CAMorphNode.SetVertexMapTagCount()
CAMorphNode.GetVertexMap()
CAMorphNode.SetVertexMap()
CAMorphNode.GetParamCount()
CAMorphNode.SetParamCount()
CAMorphNode.GetParam()
CAMorphNode.SetParam()
CAMorphNode.GetUVTagCount()
CAMorphNode.GetUVCount()
CAMorphNode.SetUVCount()
CAMorphNode.GetUV()
CAMorphNode.SetUV()
CAMorphNode.GetWeightMapTagCount()
CAMorphNode.GetWeightMapJointCount()
CAMorphNode.GetWeightMapCount()
CAMorphNode.SetWeightMapCount()
CAMorphNode.GetWeightMap()
CAMorphNode.SetWeightMap()
CAMorphNode.
GetUp
(
)
¶
Get the parent morph node.
Return type: | c4d.modules.character.CAMorphNode |
---|---|
Returns: | The node. |
CAMorphNode.
GetNext
(
)
¶
Get the next morph node.
Return type: | c4d.modules.character.CAMorphNode |
---|---|
Returns: | The node. |
CAMorphNode.
GetPrev
(
)
¶
Get the previous morph node.
Return type: | c4d.modules.character.CAMorphNode |
---|---|
Returns: | The node. |
CAMorphNode.
GetDown
(
)
¶
Get the first child of the morph node.
Return type: | c4d.modules.character.CAMorphNode |
---|---|
Returns: | The node. |
CAMorphNode.
GetLink
(
tag
,
morph
,
doc
)
¶
New in version R18.057.
Retrieves the object linked to the morph node.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The linked object if there is one, or None . |
CAMorphNode.
GetInfo
(
)
¶
Get the information on what morph data is stored in the morph node.
Return type: | int | ||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Returns: |
The data flags:
|
CAMorphNode.
GetP
(
)
¶
Get the position of the morph node.
Return type: | c4d.Vector |
---|---|
Returns: | The position. |
CAMorphNode.
GetS
(
)
¶
Get the scale of the morph node.
Return type: | c4d.Vector |
---|---|
Returns: | The scale. |
CAMorphNode.
GetR
(
)
¶
Get the rotation of the morph node.
Return type: | c4d.Vector |
---|---|
Returns: | The rotation. |
CAMorphNode.
GetPointCount
(
)
¶
Get the point count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
SetPointCount
(
cnt
)
¶
Set the point count.
Parameters: | cnt ( int ) – The count. |
---|---|
Return type: | bool |
Returns: | True on success, otherwise False . |
CAMorphNode.
GetPoint
(
index
)
¶
Get the point of the morph node.
Parameters: | index ( int ) – The index of the point. |
---|---|
Raises: |
IndexError
– If the point
index
is out of range :
0<=index<
GetPointCount()
.
|
Return type: | c4d.Vector |
Returns: | The point. |
CAMorphNode.
SetPoint
(
index
,
pnt
)
¶
Get the point of the morph node.
Parameters: |
|
---|---|
Raises: |
IndexError
– If the point
index
is out of range :
0<=index<
|
CAMorphNode.
GetTangentCount
(
)
¶
Get the tangent count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
SetTangentCount
(
cnt
)
¶
Set the tangent count.
Parameters: | cnt ( int ) – The count. |
---|---|
Return type: | bool |
Returns: | True on success, otherwise False . |
CAMorphNode.
GetTangent
(
index
)
¶
Get the tangent of the morph node.
Parameters: | index ( int ) – The index of the tangent. |
---|---|
Raises: |
IndexError
– If the tangent
index
is out of range :
0<=index<
GetTangentCount()
.
|
Return type: | c4d.Vector |
Returns: | The tangent. |
CAMorphNode.
SetTangent
(
index
,
v
)
¶
Get the tangent of the morph node.
Parameters: |
|
---|---|
Raises: |
IndexError
– If the tangent
index
is out of range :
0<=index<
|
CAMorphNode.
GetVertexMapTagCount
(
)
¶
Get the vertex map tag count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
GetVertexMapCount
(
)
¶
Get the vertex map count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
SetVertexMapTagCount
(
tindex
,
cnt
)
¶
Set the vertex map tag count.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True on success, otherwise False . |
CAMorphNode.
GetVertexMap
(
tindex
,
index
)
¶
Get the vertex map.
Parameters: |
|
---|---|
Return type: |
float |
Returns: |
The map. |
CAMorphNode.
SetVertexMap
(
tindex
,
index
,
v
)
¶
Set the vertex map.
Parameters: |
|
---|
CAMorphNode.
GetParamCount
(
)
¶
Get the param count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
SetParamCount
(
cnt
)
¶
Set the param count.
Parameters: | cnt ( int ) – The count. |
---|
CAMorphNode.
GetUVTagCount
(
)
¶
Get the UV tag count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
GetUVCount
(
tindex
,
cnt
)
¶
Set the UV count.
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True on success, otherwise False . |
CAMorphNode.
GetUV
(
tindex
,
index
)
¶
Get the UV.
Parameters: |
|
---|---|
Return type: | |
Returns: |
The UV structure. |
CAMorphNode.
SetUV
(
tindex
,
index
,
a
,
b
,
c
,
d
)
¶
Set the UV.
Parameters: |
|
---|
CAMorphNode.
SetUVCount
(
tindex
,
cnt
)
¶
Set the UV count.
Parameters: |
|
---|
CAMorphNode.
GetParam
(
index
)
¶
Return the parameter.
Parameters: | index ( int ) – The index. |
---|---|
Return type: |
dict{
data
: any,
id
:
DescID
}
|
Returns: | The parameter. |
CAMorphNode.
SetParam
(
index
,
data
,
id
)
¶
Set the parameter.
Parameters: |
|
---|
CAMorphNode.
GetWeightMapTagCount
(
)
¶
Get the weight map tag count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
GetWeightMapJointCount
(
)
¶
Get the weight map joint count.
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
GetWeightMapCount
(
)
¶
Get the weight map count
Return type: | int |
---|---|
Returns: | The count. |
CAMorphNode.
SetWeightMapCount
(
tindex
,
jindex
,
cnt
)
¶
Get the weight map count
Parameters: |
|
---|---|
Return type: |
bool |
Returns: |
True on success, otherwise False . |
CAMorphNode.
GetWeightMap
(
tindex
,
jindex
,
index
)
¶
Get the weight map count
Parameters: |
|
---|---|
Return type: |
float |
Returns: |
The weight map. |
CAMorphNode.
SetWeightMap
(
tindex
,
jindex
,
index
,
v
)
¶
Get the weight map count
Parameters: |
|
---|
CAMorphNode.
GetPSDReference
(
)
¶
New in version R19.
Retrieves the PSD data for a point pose holding the reference pose and providing multiple functions dedicated to PSD behavior.
Return type: | c4d.modules.character.CAReferencePSD |
---|---|
Returns: | The PSD referential for the morph node. |