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);
3
7
8
+ 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 ) {
2
10
0
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; }
2
7
0
GitHub: eic/root2cad
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' ) {
0
2
0
+ 7 other calls in file
GitHub: VeinKowal/veins
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) {
0
1
0
1556 1557 1558 1559 1560 1561 1562 1563 1564
model = new THREE.Group(); break; } model.name = THREE.PropertyBinding.sanitizeNodeName( node.attrName ); model.ID = id; }
0
0
1
+ 266 other calls in file
GitHub: blitzher/p6-drones
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 ); }
0
0
1
+ 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;
0
0
0
+ 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);
0
0
0
+ 3 other calls in file
three.Vector3 is the most popular function in three (22341 examples)