How to use the PropertyBinding function from three

Find comprehensive JavaScript three.PropertyBinding code examples handpicked from public code repositorys.

2779
2780
2781
2782
2783
2784
2785
2786
2787
  }
}

if (nodeDef.name !== undefined) {
  node.userData.name = nodeDef.name;
  node.name = THREE.PropertyBinding.sanitizeNodeName(nodeDef.name);
}

assignExtrasToUserData(node, nodeDef);
fork icon3
star icon7
watch icon8

+ 14 other calls in file

3170
3171
3172
3173
3174
3175
3176
3177
3178
/** When THREE.Object3D instances are targeted by animation, they need unique names. */


createUniqueName( originalName ) {

    const sanitizedName = THREE.PropertyBinding.sanitizeNodeName( originalName || '' );
    let name = sanitizedName;

    for ( let i = 1; this.nodeNamesUsed[ name ]; ++ i ) {
fork icon2
star icon10
watch icon0

2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
            addUnknownExtensionsToUserData(extensions, material, materialDef);
        return material;
    });
}
createUniqueName(originalName) {
    const sanitizedName = three.PropertyBinding.sanitizeNodeName(originalName || '');
    let name = sanitizedName;
    for (let i = 1; this.nodeNamesUsed[name]; ++i) {
        name = sanitizedName + '_' + i;
    }
fork icon2
star icon7
watch icon0

1480
1481
1482
1483
1484
1485
1486
1487
1488

for ( var i = 0; i < tracks.length; ++ i ) {

	var track = tracks[ i ];
	var trackBinding = THREE.PropertyBinding.parseTrackName( track.name );
	var trackNode = THREE.PropertyBinding.findNode( root, trackBinding.nodeName );
	var trackProperty = PATH_PROPERTIES[ trackBinding.propertyName ];

	if ( trackBinding.objectName === 'bones' ) {
fork icon0
star icon2
watch icon0

+ 7 other calls in file

2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
  /** When Object3D instances are targeted by animation, they need unique names. */

}, {
  key: "createUniqueName",
  value: function createUniqueName(originalName) {
    var sanitizedName = _three.PropertyBinding.sanitizeNodeName(originalName || '');

    var name = sanitizedName;

    for (var i = 1; this.nodeNamesUsed[name]; ++i) {
fork icon0
star icon1
watch icon0

1556
1557
1558
1559
1560
1561
1562
1563
1564
			model = new THREE.Group();
			break;

	}

	model.name = THREE.PropertyBinding.sanitizeNodeName( node.attrName );
	model.ID = id;

}
fork icon0
star icon0
watch icon1

+ 266 other calls in file

2967
2968
2969
2970
2971
2972
2973
2974
2975
    }
}

if (nodeDef.name !== undefined) {
    node.userData.name = nodeDef.name;
    node.name = THREE.PropertyBinding.sanitizeNodeName(
        nodeDef.name
    );
}
fork icon0
star icon0
watch icon1

+ 61 other calls in file

2721
2722
2723
2724
2725
2726
2727
2728
2729
2730

}

if ( nodeDef.name !== undefined ) {

	node.name = THREE.PropertyBinding.sanitizeNodeName( nodeDef.name );

}

if ( nodeDef.extras ) node.userData = nodeDef.extras;
fork icon0
star icon0
watch icon0

+ 8 other calls in file

792
793
794
795
796
797
798
799
800
801
    default:
      model = new THREE.Group();
      break;
  }

  model.name = THREE.PropertyBinding.sanitizeNodeName(node.attrName);
  model.ID = id;
}

this.getTransformData(model, node);
fork icon0
star icon0
watch icon0

+ 3 other calls in file

Other functions in three

Sorted by popularity

function icon

three.Vector3 is the most popular function in three (22341 examples)