mirror of
				https://github.com/Gongxh0901/kunpolibrary
				synced 2025-10-30 02:45:46 +00:00 
			
		
		
		
	仓库中添加内置的demo
This commit is contained in:
		
							
								
								
									
										213
									
								
								demo/assets/resources/anim/rotate.anim
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										213
									
								
								demo/assets/resources/anim/rotate.anim
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,213 @@ | ||||
| [ | ||||
|   { | ||||
|     "__type__": "cc.AnimationClip", | ||||
|     "_name": "rotate", | ||||
|     "_objFlags": 0, | ||||
|     "__editorExtras__": { | ||||
|       "embeddedPlayerGroups": [] | ||||
|     }, | ||||
|     "_native": "", | ||||
|     "sample": 60, | ||||
|     "speed": 1, | ||||
|     "wrapMode": 2, | ||||
|     "enableTrsBlending": false, | ||||
|     "_duration": 1, | ||||
|     "_hash": 500763545, | ||||
|     "_tracks": [ | ||||
|       { | ||||
|         "__id__": 1 | ||||
|       } | ||||
|     ], | ||||
|     "_exoticAnimation": null, | ||||
|     "_events": [], | ||||
|     "_embeddedPlayers": [], | ||||
|     "_additiveSettings": { | ||||
|       "__id__": 11 | ||||
|     }, | ||||
|     "_auxiliaryCurveEntries": [] | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.VectorTrack", | ||||
|     "_binding": { | ||||
|       "__type__": "cc.animation.TrackBinding", | ||||
|       "path": { | ||||
|         "__id__": 2 | ||||
|       }, | ||||
|       "proxy": null | ||||
|     }, | ||||
|     "_channels": [ | ||||
|       { | ||||
|         "__id__": 3 | ||||
|       }, | ||||
|       { | ||||
|         "__id__": 5 | ||||
|       }, | ||||
|       { | ||||
|         "__id__": 7 | ||||
|       }, | ||||
|       { | ||||
|         "__id__": 9 | ||||
|       } | ||||
|     ], | ||||
|     "_nComponents": 3 | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.TrackPath", | ||||
|     "_paths": [ | ||||
|       "eulerAngles" | ||||
|     ] | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.Channel", | ||||
|     "_curve": { | ||||
|       "__id__": 4 | ||||
|     } | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.RealCurve", | ||||
|     "_times": [ | ||||
|       0, | ||||
|       1 | ||||
|     ], | ||||
|     "_values": [ | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 0, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 0, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       } | ||||
|     ], | ||||
|     "preExtrapolation": 1, | ||||
|     "postExtrapolation": 1 | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.Channel", | ||||
|     "_curve": { | ||||
|       "__id__": 6 | ||||
|     } | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.RealCurve", | ||||
|     "_times": [ | ||||
|       0, | ||||
|       1 | ||||
|     ], | ||||
|     "_values": [ | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 0, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 0, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       } | ||||
|     ], | ||||
|     "preExtrapolation": 1, | ||||
|     "postExtrapolation": 1 | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.Channel", | ||||
|     "_curve": { | ||||
|       "__id__": 8 | ||||
|     } | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.RealCurve", | ||||
|     "_times": [ | ||||
|       0, | ||||
|       1 | ||||
|     ], | ||||
|     "_values": [ | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 0, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       }, | ||||
|       { | ||||
|         "__type__": "cc.RealKeyframeValue", | ||||
|         "interpolationMode": 0, | ||||
|         "tangentWeightMode": 0, | ||||
|         "value": 360, | ||||
|         "rightTangent": 0, | ||||
|         "rightTangentWeight": 1, | ||||
|         "leftTangent": 0, | ||||
|         "leftTangentWeight": 1, | ||||
|         "easingMethod": 0, | ||||
|         "__editorExtras__": { | ||||
|           "tangentMode": 0 | ||||
|         } | ||||
|       } | ||||
|     ], | ||||
|     "preExtrapolation": 1, | ||||
|     "postExtrapolation": 1 | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.animation.Channel", | ||||
|     "_curve": { | ||||
|       "__id__": 10 | ||||
|     } | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.RealCurve", | ||||
|     "_times": [], | ||||
|     "_values": [], | ||||
|     "preExtrapolation": 1, | ||||
|     "postExtrapolation": 1 | ||||
|   }, | ||||
|   { | ||||
|     "__type__": "cc.AnimationClipAdditiveSettings", | ||||
|     "enabled": false, | ||||
|     "refClip": null | ||||
|   } | ||||
| ] | ||||
							
								
								
									
										13
									
								
								demo/assets/resources/anim/rotate.anim.meta
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								demo/assets/resources/anim/rotate.anim.meta
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| { | ||||
|   "ver": "2.0.3", | ||||
|   "importer": "animation-clip", | ||||
|   "imported": true, | ||||
|   "uuid": "94e351a1-10f0-41f7-ab21-f29c24e9a2ce", | ||||
|   "files": [ | ||||
|     ".cconb" | ||||
|   ], | ||||
|   "subMetas": {}, | ||||
|   "userData": { | ||||
|     "name": "rotate" | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user