SkinDeformer

SkinDeformer class

A skin deformer contains multiple bones to work, each bone blends a part of the geometry by control point’s weights.

Methods

constructor

NameDescription
constructor(name)Initializes a new instance of the SkinDeformer class.

Parameters:

NameTypeDescription
nameStringName.

Result:


constructor_overload

NameDescription
constructor_overload()Initializes a new instance of the SkinDeformer class.

Result:


getBones

NameDescription
getBones()Gets all bones that the skin deformer contains

Result:


getOwner

NameDescription
getOwner()Gets the geometry which owns this deformer

Result:


getName

NameDescription
getName()Gets or sets the name. The name.

Result:


setName

NameDescription
setName(value)Gets or sets the name. The name.

Result:


getProperties

NameDescription
getProperties()Gets the collection of all properties.

Result:


removeProperty

NameDescription
removeProperty(property)Removes a dynamic property.

Parameters:

NameTypeDescription
propertyPropertyWhich property to remove

Result: boolean


removeProperty

NameDescription
removeProperty(property)Remove the specified property identified by name

Parameters:

NameTypeDescription
propertStringnull

Result: boolean


getProperty

NameDescription
getProperty(property)Get the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name

Result: Object


setProperty

NameDescription
setProperty(property, value)Sets the value of specified property

Parameters:

NameTypeDescription
propertyStringProperty name
valueObjectThe value of the property

Result: Object


findProperty

NameDescription
findProperty(propertyName)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

Parameters:

NameTypeDescription
propertyNameStringProperty name.

Result: Property