Vicon Shogun banner

Description

Retrieves the local or world-space scale of a node at the current time.

Functional area

Data retrieval

Command syntax

Syntax

getScale "moduleName"[-ws] [-inSpaceOf string] [-def]

Arguments

NameTypeRequiredComments
nodeNamestringyesThe node to get scale for.

Flags

NameFlag argumentsArgument typeExclusive toComments
ws0Specifies that the worldspace value should be retrieved. The default is to retrieve local.
inSpaceOf1stringws
def0

Return value

vector

Examples

// Get the local and world space scale of the rhumerus bone.
vector $localScale;
vector $wsScale;
// First the local
$localScale = `getScale "rhumerus"`;
// And then the world space
$wsScale = `getScale "rhumerus" -ws`;
print $localScale;
print $wsScale;

Additional information

Related commands