Package | flare.modifiers |
Class | public class SkinModifier |
Inheritance | SkinModifier ![]() ![]() |
Property | Defined By | ||
---|---|---|---|
bones : Vector.<Pivot3D>
List of all bones. | SkinModifier | ||
invBoneMatrix : Vector.<Matrix3D>
Initial transform for eahc bone. | SkinModifier | ||
mesh : Mesh3D
A reference to the skinned mesh
| SkinModifier | ||
precisionEnabled : Boolean = false
Enables or disables the bones interpolation when Pivot3D.frameSpeed is less than 1. | SkinModifier | ||
root : Pivot3D
The main bone node. | SkinModifier | ||
skinData : Vector.<Vector.<int>>
Contains the bone indices for each surface. | SkinModifier | ||
totalFrames : int | SkinModifier |
Method | Defined By | ||
---|---|---|---|
SkinModifier | |||
Adds a new bone so that vertices can be then bound to it. | SkinModifier | ||
![]() | Modifier | ||
![]() | Modifier | ||
update():void | SkinModifier | ||
[static] | SkinModifier |
bones | property |
public var bones:Vector.<Pivot3D>
List of all bones.
invBoneMatrix | property |
public var invBoneMatrix:Vector.<Matrix3D>
Initial transform for eahc bone.
mesh | property |
public var mesh:Mesh3D
A reference to the skinned mesh
precisionEnabled | property |
public var precisionEnabled:Boolean = false
Enables or disables the bones interpolation when Pivot3D.frameSpeed is less than 1. This creates the illusion of an smother animation, but linear interpolation could not work in all cases. By default is false.
root | property |
public var root:Pivot3D
The main bone node.
skinData | property |
public var skinData:Vector.<Vector.<int>>
Contains the bone indices for each surface.
totalFrames | property |
totalFrames:int
public function get totalFrames():int
public function set totalFrames(value:int):void
SkinModifier | () | Constructor |
public function SkinModifier()
addBone | () | method |
public function addBone(pivot:Pivot3D):int
Adds a new bone so that vertices can be then bound to it.
Parameters
pivot:Pivot3D — Pivot3D object that is to perform the bone function.
|
int — The added bone index.
|
update | () | method |
public function update():void
updatePolys | () | method |
public static function updatePolys(skin:SkinModifier, mesh:Mesh3D):void
Parameters
skin:SkinModifier | |
mesh:Mesh3D |