generate method

dynamic generate([
  1. dynamic builder,
  2. dynamic output
])

Implementation

generate([builder, output]) {
  // inout nodes
  var position = new PositionNode(PositionNode.LOCAL);
  var normal = new NormalNode(NormalNode.LOCAL);

  var index = this.skinIndexNode;
  var weight = this.skinWeightNode;
  var bindMatrix = this.bindMatrixNode;
  var bindMatrixInverse = this.bindMatrixInverseNode;
  var boneMatrices = this.boneMatricesNode;

  Skinning({
    position,
    normal,
    index,
    weight,
    bindMatrix,
    bindMatrixInverse,
    boneMatrices
  }, builder);
}