您的位置:首页 > 移动开发 > Unity3D

UnityEngine API 大纲(一)

2018-02-27 23:03 1516 查看

Accessibility

VersionUtility

Advertisements

类:Advertisement MeteData ShowOptions

枚举: DebugLevel PlacementState ShowResult

AI

类:NavMesh NavMeshAgent NavMeshBuildDebugSettings NavMeshBuilder NavMeshBuildMarkup NavMeshBuildSettings NavMeshBuildSource

NavMeshData NavMeshDataInstance NavMeshHit

NavMeshLinkData NavMeshLinkInstance NavMeshObstacle

NavMeshPath NavMeshQueryFilter NavMeshTriangulation

OffMeshLink OffMeshLinkData

枚举:NavMeshBuildDebugFlags NavMeshBuildSourceShape NavMeshCollectGeometry NavMeshObstacleShape

NavMeshPathStatus ObstacleAvoidanceType

OffMeshLinkType

Analytics

类:Analytics AnalyticsEvent AnalyticsSessionInfo AnalyticsTracker PerformanceReporting

枚举:AcquisitionSource AcqusitionType AdvertisingNetwork AnalyticsResult

AnalyticsSessionState AuthorizationNetwork Gender ScreenName ShareType

SocialNetwork StoreType

Animations

类:AnimationClipPlayable AnimationLayerMixerPlayable AnimationMixerPlayable AnimatoinPlayableOutput

AnimationControllerPlayable

Apple

类:ReplayKit Remote

Assertions

UnityEngine.Assertions.Comparers 类:FloatComparer

UnityEngine.Assertions.Must 类:MustExtensions

类:Assert AssertionException

Audio

类:AudioClipPlayable AudioMixer AudioMixerGroup

AudioMixerSnapshot AudioPlayableOutput

AudioSpatializerMicrosoft(对应枚举 RoomSize)

枚举:AudioMixerUpdateMode

CrashReportHandler

类:CrashReportHandler

Events

类:UnityEvent

UnityEvent

UnityEvent

EventSystems

类:AbstractEventData AxisEventData BaseEventData BaseInput

BaseInputModule BaseRaycaster EventSystem

EventTrigger(对应类 Entry、TriggerEvent)

ExecuteEvents HoloLensInputModule

Physics2DRaycaster PhysicsRaycaster

PointerEventData(对应枚举 FramePressState、InputButton)

PointerInputModule(对应类 MouseButtonEventData)

RaycastResult StandaloneInputModule TocuhInputModule

UIBehaviour

枚举:EventHandle EventTriggerType MoveDirection

接口:

IBeginDragHandler 开始拖拽

ICancelHandler 取消

IDeselectHandler 取消选择

IDragHandler 拖拽

IDropHandler 放下

IEndDragHandler 停止拖拽

IEventSystemHandler

IInitializePotentialDragHandler

IMoveHandler 移动

IPointerClickHandler

IPointerDownHandler

IPointerEnterHandler

IPointerExitHandler

IPointerUpHandler

IScrollHandler

ISelectHandler 选择

ISubmitHandler 提交

IUpdateSelectedHandler

Experimental

UnityEngine.Experimental.Playables

类:CameraPlayable

MaterialEffectPlayable

TextureMixerPlayable

TexturePlayableOutput

UnityEngine.Experimental.Rendering

类:BlendState CameraProperties CoreCameraValues

CullResults DepthState

DrawRendererSettings

DrawRendererSortSettings

DrawShadowsSettings

FilterRenderersSettings

FilterResults

LODPatameters

RasterState

RenderPass(对应类 SubPass)

RenderPassAttachment

RenderPipline

RenderPiplineAsset

RenderPiplineManager

RenderQueueRange

RenderStateBlock

RenderStateMapping

RenderTargetBlendState

ScriptalbeCullingParamters

ScriptableRenderContext

ShaderPassName

ShadowSplitData

StencilState

VisibleLight

VisibleReflectionProbe

接口:IRenderPipline IRenderPipelineAsset

枚举:

DrawRendererFlags

ReflectionProbeSortOptions

RendererConfiguration

RenderStateMask

SortFlags

VisibleLightFlags

UnityEngine.Experimental.U2D

类:AngleRangeInfo ShapeControlPoint SpriteShapeMetaData

SpriteShapeParameter SpriteShapeUtility

UnityEngine.Experimental.UIElements

UnityEngine.Experimental.Video

iOS

类:ADBannerView(对应枚举 Layout、Type)

ADInterstitialAd

Device

LocationNotification

NotificationServices

OnDemandResources

OnDemandResourcesRequest

RemoteNotification

枚举: ActivityIndicatorStyle

CalendarIdentifier

CalendarUnit

DeviceGeneration

NotificationType

Networking

Playables

类:AnimationPlayableUtilities

FrameData(对应枚举 EvaluationType)

Playable

PlayableAsset

PlayableBehaviour

PlayableBinding

PlayableDirector

PlayableExtensions

PlayableGraph

PlayableOutput

PlayableOutputExtensions

ScriptPlayable

ScriptPlayableOutput

接口:

IPlayable

IPlayableAsset

IPlayableBehaviour

IPlayableOutput

枚举: DataStreamType

DirectorUpdateMode

DirectorWrapMode

PlayState

Profiling

用途
CustomSampler先不写
Profiler
Recorder
Sampler

Purchasing

Rendering

用途
CommandBuffer
GPUFence
GraphicsSettings
ReflectionProbeBlendInfo
RenderTargetIdentifier
SortingGroup
SphericalHarmonicsL2
SplashScreen
枚举:

AmbientMode

BlendMode

BlendOp

BuiltinRenderTextureType

BuiltinShaderDefine

BuiltinShaderMode

BuiltinShaderType

CameraEvent

CameraHDRMode

ColorWriteMask

CompareFuncton

ComputeQueueType

CopyTextureSupport

CullMode

DefaultReflectionMode

GraphicsDeviceType

GraphicsTier

IndexFormat

LightEvent

LightProbeUsage

LightShadowResolution

OpaqueSortMode

PassType

RealtimeGICPUUsage

ReflectionCubemapCompression

ReflectionProbeClearFlags

ReflectionProbeMode

ReflectionProbeRefreshMode

ReflectionProbeTimeSlicingMode

ReflectionProbeUsage

RenderBufferLoadAction

RenderBufferStoreAction

RenderQueue

ShadowCastingMode

ShadowMapPass

ShadowSamplingMode

StencilOp

SynchronisationStage

TextureDimension

UVChannelFlags

SceneManagement

用途
Scene
SceneManager
SceneUtility
枚举

枚举用途
LoadSceneMode

Scripting

属性 [Preserve]

Serialization

属性 [FormerlySerializedAs(“xx”)]

SocialPlatforms

SpatialTracking

类:TrackedPoseDriver(对应枚举 DeviceType、TrackedPose、TrackingType、UpdateType)

貌似是用来做 XR 设备之类的

Sprites

类: DataUtility

TestTools

类:LogAssert

MonoBehaviourTest

接口: IMonoBehaviourTest

IPostBuildCleanup

IPrebuildSetup

枚举:TestPlatform

属性: [PostBuildCleanup]

[PrebuildSetup]

[UnityPlatform]

[UnityTest]

Tilemaps

TimeLine

类: ActivationControlPlayable(对应枚举 PostPlaybackState)

ActivationTrack(对应枚举 PostPlaybackState 同上)

AnimationPlayableAsset

AnimationTrack

AudioPlayableAsset AudioTrack

ControlPlayableAsset ControlTrack

DirectorControlPlayable PlayableTrack

PrefabControlPlayable

TimelineAsset(对应枚举 DurationMode)

TimelineClip(对应枚举ClipExtrapolation)

TimelinePlayable

TrackAsset

TrackAssetExtensions

接口:IPropertyCollector IPropertyPreview ITimeControl ITimelineClipAsset

枚举:ClipCaps

属性:[Notkeyable] [TrackBindingType] [TrackClipType] [TrackColor]

Tizen

U2D

类:SpriteAtlas

SpriteAtlasManager

UI(和Events、EventSystem一起使用)

Video

较早的版本用MovieTexture播放视频

类:VideoClip

VideoPlayer

枚举: Video3DLayout

VideoAspectRatio

VideoAudioOutputMode

VideoRenderMode

VideoSource

VideoTimeReference

VideoTimeSource

Windows

类:CrashReporting、Crypto、Directory、File

UnityEngine.Windows.Speech命名空间下

类:DictationRecognizer

GrammarRecognizer

KeywordRecognizer

PhraseRecognitionSystem

PhraseRecognizedEventArgs

PhraseRecognizer

SemanticMeaning

枚举: ConfidenceLevel

DicationCompletionCause

DictationTopicConstraint

SpeechError

SpeechSystemStatus

WSA

类:Application

Cursor

Launcher

SecondaryTileData

Tile

Toast

枚举: Folder

TileForegroundText

TileTemplate

ToastTemplate

WindowActivationState

XR

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: