| MorphWeightCollectionTryGetValue Method |
Gets the weight for the specified morph target.
Namespace: DigitalRune.GraphicsAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public bool TryGetValue(
string name,
out float weight
)
Public Function TryGetValue (
name As String,
<OutAttribute> ByRef weight As Single
) As Boolean
public:
bool TryGetValue(
String^ name,
[OutAttribute] float% weight
)
member TryGetValue :
name : string *
weight : float32 byref -> bool
Parameters
- name
- Type: SystemString
The name of the morph target. - weight
- Type: SystemSingle
The weight of the morph target.
Return Value
Type:
Boolean if the
MorphWeightCollection contains the specified morph target;
otherwise,
.
See Also