File: PropertyBinding.html

package info (click to toggle)
three.js 111%2Bdfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 15,184 kB
  • sloc: javascript: 133,174; makefile: 24; sh: 1
file content (132 lines) | stat: -rw-r--r-- 2,743 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<base href="../../../" />
		<script src="list.js"></script>
		<script src="page.js"></script>
		<link type="text/css" rel="stylesheet" href="page.css" />
	</head>
	<body>
		<h1>[name]</h1>

		<p class="desc">
			对场景图中某一真实属性的引用,内部使用。
		</p>


		<h2>构造器</h2>


		<h3>[name]( [param:Object3D rootNode], path, parsedPath )</h3>
		<p>
			-- [page:Object3D rootNode]:
			-- path
			-- parsedPath (可选)

		</p>

		<h2>属性</h2>

		<h3>[property:Number path]</h3>
		<p>

		</p>

		<h3>[property:Number parsedPath]</h3>
		<p>

		</p>

		<h3>[property:Number node]</h3>
		<p>

		</p>

		<h3>[property:Number rootNode]</h3>
		<p>

		</p>

		<h3>[property:Object BindingType]</h3>
		<p>

		</p>

		<h3>[property:Object Versioning]</h3>
		<p>

		</p>

		<h3>[property:Array GetterByBindingType]</h3>
		<p>

		</p>

		<h3>[property:Array SetterByBindingTypeAndVersioning]</h3>
		<p>

		</p>



		<h2>方法</h2>

		<h3>[method:null getValue]( [param:Array targetArray], [param:Number offset] )</h3>
		<p>
		</p>

		<h3>[method:null setValue]( [param:Array sourceArray], [param:Number offset] )</h3>
		<p>
		</p>

		<h3>[method:null bind]( )</h3>
		<p>
			为场景图中的属性创建 getter / setter对。 被[page:PropertyBinding.getValue getValue]和[page:PropertyBinding.setValue setValue]方法内部使用。
		</p>

		<h3>[method:null unbind]( )</h3>
		<p>
			解绑场景图中某属性的getter / setter对。
		</p>

		<h3>[method:Constructor Composite]( targetGroup, path, optionalParsedPath )</h3>
		<p>
			创建一个新的复合属性绑定(Composite PropertyBinding)
		</p>

		<h3>[method:Constructor create]( root, path, parsedPath )</h3>
		<p>
			创建一个新的复合属性绑定(Composite PropertyBinding) (如果根对象是[page:AnimationObjectGroup])或普通属性绑定
		</p>

		<h3>[method:Constructor parseTrackName]( trackName )</h3>
		<p>
			匹配以下形式的字符串:<br />
			-- nodeName.property<br />
			-- nodeName.property[accessor]<br />
			-- nodeName.material.property[accessor]<br />
			-- uuid.property[accessor]<br />
			-- uuid.objectName[objectIndex].propertyName[propertyIndex]<br />
			-- parentName/nodeName.property<br />
			-- parentName/parentName/nodeName.property[index]<br />
			-- .bone[Armature.DEF_cog].position<br />
			-- scene:helium_balloon_model:helium_balloon_model.position
		</p>

		<h3>[method:Constructor findNode]( root, nodeName )</h3>
		<p>
			从节点树或骨骼([page:Skeleton Skeleton])中找出某节点
		</p>




		<h2>源码</h2>


		<p>
			[link:https://github.com/mrdoob/three.js/blob/master/src/[path].js src/[path].js]
		</p>
	</body>
</html>