提交,珠宝鉴定光学仪器认知,场景

This commit is contained in:
李浩 2025-03-17 16:05:02 +08:00
parent 780efacbe0
commit 50363f45ee
17 changed files with 5427 additions and 1375 deletions

View File

@ -112,7 +112,7 @@ Material:
- _GlossMapScale: 1
- _Glossiness: 0.14142135
- _GlossyReflections: 1
- _Metallic: 0.1
- _Metallic: 0.22
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02

Binary file not shown.

View File

@ -0,0 +1,109 @@
fileFormatVersion: 2
guid: 227a4d4e5493d3d449a12c99e2e7301a
ModelImporter:
serializedVersion: 22200
internalIDToNameTable: []
externalObjects: {}
materials:
materialImportMode: 2
materialName: 0
materialSearch: 1
materialLocation: 1
animations:
legacyGenerateAnimations: 4
bakeSimulation: 0
resampleCurves: 1
optimizeGameObjects: 0
removeConstantScaleCurves: 0
motionNodeName:
rigImportErrors:
rigImportWarnings:
animationImportErrors:
animationImportWarnings:
animationRetargetingWarnings:
animationDoRetargetingWarnings: 0
importAnimatedCustomProperties: 0
importConstraints: 0
animationCompression: 1
animationRotationError: 0.5
animationPositionError: 0.5
animationScaleError: 0.5
animationWrapMode: 0
extraExposedTransformPaths: []
extraUserProperties: []
clipAnimations: []
isReadable: 0
meshes:
lODScreenPercentages: []
globalScale: 1
meshCompression: 0
addColliders: 0
useSRGBMaterialColor: 1
sortHierarchyByName: 1
importPhysicalCameras: 1
importVisibility: 1
importBlendShapes: 1
importCameras: 1
importLights: 1
nodeNameCollisionStrategy: 1
fileIdsGeneration: 2
swapUVChannels: 0
generateSecondaryUV: 0
useFileUnits: 1
keepQuads: 0
weldVertices: 1
bakeAxisConversion: 0
preserveHierarchy: 0
skinWeightsMode: 0
maxBonesPerVertex: 4
minBoneWeight: 0.001
optimizeBones: 1
meshOptimizationFlags: -1
indexFormat: 0
secondaryUVAngleDistortion: 8
secondaryUVAreaDistortion: 15.000001
secondaryUVHardAngle: 88
secondaryUVMarginMethod: 1
secondaryUVMinLightmapResolution: 40
secondaryUVMinObjectScale: 1
secondaryUVPackMargin: 4
useFileScale: 1
strictVertexDataChecks: 0
tangentSpace:
normalSmoothAngle: 60
normalImportMode: 0
tangentImportMode: 3
normalCalculationMode: 4
legacyComputeAllNormalsFromSmoothingGroupsWhenMeshHasBlendShapes: 0
blendShapeNormalImportMode: 1
normalSmoothingSource: 0
referencedClips: []
importAnimation: 1
humanDescription:
serializedVersion: 3
human: []
skeleton: []
armTwist: 0.5
foreArmTwist: 0.5
upperLegTwist: 0.5
legTwist: 0.5
armStretch: 0.05
legStretch: 0.05
feetSpacing: 0
globalScale: 1
rootMotionBoneName:
hasTranslationDoF: 0
hasExtraRoot: 0
skeletonHasParents: 1
lastHumanDescriptionAvatarSource: {instanceID: 0}
autoGenerateAvatarMappingIfUnspecified: 1
animationType: 2
humanoidOversampling: 1
avatarSetup: 0
addHumanoidExtraRootOnlyWhenUsingAvatar: 1
importBlendShapeDeformPercent: 1
remapMaterialsIfMaterialImportModeIsNone: 0
additionalBone: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,179 @@
fileFormatVersion: 2
guid: 3a27ee9d250683b44848bc48137de8dc
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 12
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
flipGreenChannel: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMipmapLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 2
mipBias: 0
wrapU: 0
wrapV: 0
wrapW: 0
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
swizzle: 50462976
cookieLightType: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Windows Store Apps
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 8192
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
ignorePlatformSupport: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
mipmapLimitGroupName:
pSDRemoveMatte: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -696,7 +696,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: {x: -0.13870001, y: 0.03754801, z: 0.08672023}
value: {x: 0.02789998, y: 2.4222, z: -0.21217978}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
@ -706,8 +706,8 @@ AnimationClip:
- serializedVersion: 3
time: 0.5
value: {x: 0.02789998, y: 2.4222002, z: -0.21217978}
inSlope: {x: 0, y: 0.40677932, z: 0}
outSlope: {x: 0, y: 0.40677932, z: 0}
inSlope: {x: 0, y: 0.0000009698383, z: 0}
outSlope: {x: 0, y: 0.0000009698383, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
@ -974,7 +974,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: -0.13870001
value: 0.02789998
inSlope: 0
outSlope: 0
tangentMode: 136
@ -1076,7 +1076,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0.03754801
value: 2.4222
inSlope: 0
outSlope: 0
tangentMode: 136
@ -1086,8 +1086,8 @@ AnimationClip:
- serializedVersion: 3
time: 0.5
value: 2.4222002
inSlope: 0.40677932
outSlope: 0.40677932
inSlope: 0.0000009698383
outSlope: 0.0000009698383
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
@ -1178,7 +1178,7 @@ AnimationClip:
m_Curve:
- serializedVersion: 3
time: 0
value: 0.08672023
value: -0.21217978
inSlope: 0
outSlope: 0
tangentMode: 136

View File

@ -27,7 +27,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1.5
time: 1.55
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -36,7 +36,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2
time: 2.6166666
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -45,7 +45,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -54,7 +54,16 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6333334
time: 5.016667
value: {x: 34.1, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 6.0333333
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -63,7 +72,34 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6666667
time: 6.9666667
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 8
value: {x: -38.05, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 9.166667
value: {x: 0, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 9.3
value: {x: -180, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -72,7 +108,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 3
time: 11.666667
value: {x: -180, y: 0, z: 0.00002732076}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -98,17 +134,8 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1
time: 1.55
value: {x: -1.3873005, y: 0.96222305, z: 0.17179966}
inSlope: {x: -0.44239932, y: 0.17866705, z: 0}
outSlope: {x: -0.44239932, y: 0.17866705, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 1.5
value: {x: -1.5532002, y: 1.0292232, z: 0.11656976}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
@ -116,8 +143,8 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2
value: {x: -1.5532002, y: 1.0292232, z: 0.11656976}
time: 2.6166666
value: {x: -1.3873005, y: 0.96222305, z: 0.17179966}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
@ -125,7 +152,25 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: {x: -1.5532703, y: 1.0300732, z: 0.11621976}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 5.016667
value: {x: -1.5532703, y: 1.0300732, z: 0.11621976}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 6.0333333
value: {x: -1.3873005, y: 0.9622233, z: 0.17179966}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -134,8 +179,8 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6333334
value: {x: -1.3873005, y: 0.9622233, z: 0.17179966}
time: 6.9666667
value: {x: -1.5532703, y: 1.0300732, z: 0.11621976}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
@ -143,7 +188,25 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 2.6666667
time: 8
value: {x: -1.5532703, y: 1.0300732, z: 0.11621976}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 9.166667
value: {x: -1.3873005, y: 0.9622233, z: 0.17179966}
inSlope: {x: 0.00000073052945, y: 0, z: 0.019692272}
outSlope: {x: 0.00000073052945, y: 0, z: 0.019692272}
tangentMode: 0
weightedMode: 0
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 9.3
value: {x: -1.3873003, y: 0.99952316, z: 0.17819965}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -152,7 +215,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 3
time: 11.666667
value: {x: -1.3873003, y: 0.99952316, z: 0.17819965}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -180,7 +243,7 @@ AnimationClip:
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1.95
time: 8
value: 0
inSlope: Infinity
outSlope: Infinity
@ -237,7 +300,7 @@ AnimationClip:
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 3
m_StopTime: 11.666667
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
@ -267,34 +330,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
value: -1.3873005
inSlope: -0.44239932
outSlope: -0.44239932
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: -1.5532002
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: -1.5532002
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 1.55
value: -1.3873005
inSlope: 0
outSlope: 0
@ -303,7 +339,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 2.6166666
value: -1.3873005
inSlope: 0
outSlope: 0
@ -312,7 +348,61 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 3.9166667
value: -1.5532703
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.016667
value: -1.5532703
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 6.0333333
value: -1.3873005
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 6.9666667
value: -1.5532703
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: -1.5532703
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: -1.3873005
inSlope: 0.00000073052945
outSlope: 0.00000073052945
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.3
value: -1.3873003
inSlope: 0
outSlope: 0
@ -321,7 +411,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: -1.3873003
inSlope: 0
outSlope: 0
@ -351,17 +441,8 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
time: 1.55
value: 0.96222305
inSlope: 0.17866705
outSlope: 0.17866705
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: 1.0292232
inSlope: 0
outSlope: 0
tangentMode: 136
@ -369,8 +450,8 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 1.0292232
time: 2.6166666
value: 0.96222305
inSlope: 0
outSlope: 0
tangentMode: 136
@ -378,7 +459,25 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: 1.0300732
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.016667
value: 1.0300732
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 6.0333333
value: 0.9622233
inSlope: 0
outSlope: 0
@ -387,7 +486,25 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 6.9666667
value: 1.0300732
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: 1.0300732
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: 0.9622233
inSlope: 0
outSlope: 0
@ -396,7 +513,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 9.3
value: 0.99952316
inSlope: 0
outSlope: 0
@ -405,7 +522,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: 0.99952316
inSlope: 0
outSlope: 0
@ -435,7 +552,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1
time: 1.55
value: 0.17179966
inSlope: 0
outSlope: 0
@ -444,25 +561,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
value: 0.11656976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
value: 0.11656976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 2.6166666
value: 0.17179966
inSlope: 0
outSlope: 0
@ -471,7 +570,25 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 3.9166667
value: 0.11621976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 5.016667
value: 0.11621976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 6.0333333
value: 0.17179966
inSlope: 0
outSlope: 0
@ -480,7 +597,34 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 6.9666667
value: 0.11621976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: 0.11621976
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: 0.17179966
inSlope: 0.019692272
outSlope: 0.019692272
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.3
value: 0.17819965
inSlope: 0
outSlope: 0
@ -489,7 +633,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: 0.17819965
inSlope: 0
outSlope: 0
@ -519,7 +663,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
time: 1.55
value: 0
inSlope: 0
outSlope: 0
@ -528,7 +672,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
time: 2.6166666
value: 0
inSlope: 0
outSlope: 0
@ -537,7 +681,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: 0
inSlope: 0
outSlope: 0
@ -546,7 +690,16 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 5.016667
value: 34.1
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 6.0333333
value: 0
inSlope: 0
outSlope: 0
@ -555,7 +708,34 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 6.9666667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: -38.05
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.3
value: -180
inSlope: 0
outSlope: 0
@ -564,7 +744,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: -180
inSlope: 0
outSlope: 0
@ -594,7 +774,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
time: 1.55
value: 0
inSlope: 0
outSlope: 0
@ -603,7 +783,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
time: 2.6166666
value: 0
inSlope: 0
outSlope: 0
@ -612,7 +792,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: 0
inSlope: 0
outSlope: 0
@ -621,7 +801,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 5.016667
value: 0
inSlope: 0
outSlope: 0
@ -630,7 +810,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 6.0333333
value: 0
inSlope: 0
outSlope: 0
@ -639,7 +819,43 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 6.9666667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.3
value: 0
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 11.666667
value: 0
inSlope: 0
outSlope: 0
@ -669,7 +885,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 1.5
time: 1.55
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -678,7 +894,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2
time: 2.6166666
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -687,7 +903,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.5
time: 3.9166667
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -696,7 +912,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6333334
time: 5.016667
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -705,7 +921,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 2.6666667
time: 6.0333333
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -714,7 +930,43 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 6.9666667
value: 0.00002732076
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 8
value: 0.00002732076
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.166667
value: 0.00002732076
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 9.3
value: 0.00002732076
inSlope: 0
outSlope: 0
tangentMode: 136
weightedMode: 0
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 11.666667
value: 0.00002732076
inSlope: 0
outSlope: 0
@ -744,7 +996,7 @@ AnimationClip:
inWeight: 0
outWeight: 0
- serializedVersion: 3
time: 1.95
time: 8
value: 0
inSlope: Infinity
outSlope: Infinity
@ -849,7 +1101,7 @@ AnimationClip:
inWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
outWeight: {x: 0.33333334, y: 0.33333334, z: 0.33333334}
- serializedVersion: 3
time: 3
time: 11.666667
value: {x: 0, y: 0, z: -600}
inSlope: {x: 0, y: 0, z: 0}
outSlope: {x: 0, y: 0, z: 0}
@ -887,7 +1139,7 @@ AnimationClip:
m_AdditiveReferencePoseClip: {fileID: 0}
m_AdditiveReferencePoseTime: 0
m_StartTime: 0
m_StopTime: 3
m_StopTime: 11.666667
m_OrientationOffsetY: 0
m_Level: 0
m_CycleOffset: 0
@ -917,7 +1169,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: 0
inSlope: 0
outSlope: 0
@ -947,7 +1199,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: 0
inSlope: 0
outSlope: 0
@ -977,7 +1229,7 @@ AnimationClip:
inWeight: 0.33333334
outWeight: 0.33333334
- serializedVersion: 3
time: 3
time: 11.666667
value: -600
inSlope: 0
outSlope: 0

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 5af292ae389da2643af14e86b1c5b666
guid: 543770fe6a0644143b8217f7d54f51f3
folderAsset: yes
DefaultImporter:
externalObjects: {}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dd387ef68eb499745b19f186dfad440f
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -0,0 +1,209 @@
using UnityEngine;
public class ZhanShiCameraMove : MonoBehaviour
{
[Header("旋转角度x,y缩放距离distance")] public float x, y, distance;
[Header("X角度设置")] public float minYangle;
public float maxYangle;
[Header("缩放的最小距离")] public float distanceMin;
[Header("缩放的最大距离")] public float distanceMax;
[Header("需要注视的物体")] public Transform target;
public static ZhanShiCameraMove instance;
[Header("缩放的速度")] public float scrollSpeed;
[Header("旋转的速度")] public float rotSpeed;
// Start is called before the first frame update
private void Start()
{
//初始化最开始位置
instance = this;
// transform.LookAt(target);
isAutoRotate = false;
Invoke("SetBool",2f);
}
/// <summary>
/// 初始状态,延时两秒设置这个参数
/// </summary>
void SetBool()
{
isAutoRotate = true;
}
/// <summary>
/// 更新一下参数
/// </summary>
/// <param name="x"></param>
/// <param name="y"></param>
/// <param name="distance"></param>
public void SetData(float x,float y,float distance)
{
isAutoRotate = false;
//目标物体旋转置空
target.transform.rotation=new Quaternion( 0,0,0,0);
//相机参数设置
this.x = x;
this.y = y;
this.distance = distance;
//根绝XY移动量计算旋转量
this.y = Mathf.Clamp( this.y, minYangle,maxYangle);
Quaternion rot = Quaternion.Euler( this.y, this.x, 0);
transform.rotation = rot;
//对距离进行区间运算,保证距离在最大和最小之间
this.distance = Mathf.Clamp( this.distance, distanceMin, distanceMax);
//根据距离值计算摄像机的位置
Vector3 pos = rot * new Vector3(0, 0, - this.distance) + target.position;
//更改摄像机位置为计算的值
transform.position = pos;
//延时旋转2秒后
Invoke("SetBool",2f);
}
// Update is called once per frame
private void Update()
{ if (isAutoRotate && !Input.GetMouseButton(1))
{
// Debug.Log("测试到鼠标左键没按下");
RotateModelContinuously(); // 持续旋转模型
} // 如果鼠标左键没按下
else
{
Drag();
}
if (Input.GetAxis("Mouse ScrollWheel") != 0)
{
//根据滚轮的值计算距离
distance = distance - Input.GetAxis("Mouse ScrollWheel") * scrollSpeed;
}
//对距离进行区间运算,保证距离在最大和最小之间
distance = Mathf.Clamp(distance, distanceMin, distanceMax);
//根据距离值计算摄像机的位置
Vector3 pos = transform.rotation * new Vector3(0, 0, -distance) + target.position;
//更改摄像机位置为计算的值
transform.position = pos;
}
void RotateModelContinuously()
{
if (!isAutoRotatePivot)
target.transform.Rotate(autoRotateDirection, autoRotationSpeed * Time.deltaTime*speed, Space.World);
else
{
var rotateEuler = autoRotateDirection * autoRotationSpeed * Time.deltaTime*speed;
// 根据模型当前朝向构造一个围绕轴旋转的四元数
Quaternion deltaRotation = Quaternion.Euler(rotateEuler);
// 将新的旋转应用到模型
target.transform.rotation *= deltaRotation;
}
}
void Drag()
{
if (Input.GetMouseButton(1))
{
//获取鼠标X轴移动量
x = x + Input.GetAxis("Mouse X") * rotSpeed;
//获取鼠标Y轴移动量
y = y - Input.GetAxis("Mouse Y") * rotSpeed;
//如果滚轮发生滚动
}
//根绝XY移动量计算旋转量
y = Mathf.Clamp(y, minYangle,maxYangle);
Quaternion rot = Quaternion.Euler(y, x, 0);
//根据计算的旋转量旋转计算机
transform.rotation = rot;
if (Input.GetAxis("Mouse ScrollWheel") != 0)
{
//根据滚轮的值计算距离
distance = distance - Input.GetAxis("Mouse ScrollWheel") * scrollSpeed;
}
//对距离进行区间运算,保证距离在最大和最小之间
distance = Mathf.Clamp(distance, distanceMin, distanceMax);
//根据距离值计算摄像机的位置
Vector3 pos = rot * new Vector3(0, 0, -distance) + target.position;
//更改摄像机位置为计算的值
transform.position = pos;
}
[SerializeField][Header("是否自动旋转")]
private bool isAutoRotate;
[SerializeField] [Header("是否按照自身坐标系轴自动旋转")]
private bool isAutoRotatePivot;
[SerializeField][Header("自动旋转方向,例如(0,1,0)按照Y轴旋转")]
private Vector3 autoRotateDirection;
[SerializeField][Header("自动旋转速度")]
private float autoRotationSpeed = 5;
[SerializeField][Header("速度")]
private float speed=5f;
}

View File

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 33b930c6eff93574daa0b51cf8aca064
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 MiB

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 170551ab9e28f624092875d65a7bed10
guid: 3b9784fe50299fe448b4b44e9a59dad3
TextureImporter:
internalIDToNameTable: []
externalObjects: {}

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@ -53,11 +53,13 @@ namespace QFramework.Example
icon.sprite = Utility.GetSprite(res.Asset as Texture2D);
}
});
Button btn = obj.GetComponent<Button>();
btn.onClick.AddListener(() =>
{
//Button btn = obj.GetComponent<Button>();
});
//btn.onClick.AddListener(() =>
//{
//});
}
mResLoader.LoadAsync();
Scroll.verticalNormalizedPosition = 1;

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff