Version: 2022.3
언어: 한국어

RenderPipelineAsset

class in UnityEngine.Rendering

/

다음으로부터 상속:ScriptableObject

매뉴얼로 전환

설명

An asset that produces a specific IRenderPipeline.

Default implementation of IRenderPipelineAsset. This manages the lifecylces of inherited types, as well as ensures that created IRenderPipeline's are invalidated when the asset is changed.

See Also: IRenderPipelineAsset.

변수

autodeskInteractiveMaskedShaderRetrieves the default Autodesk Interactive masked Shader for this pipeline.
autodeskInteractiveShaderRetrieves the default Autodesk Interactive Shader for this pipeline.
autodeskInteractiveTransparentShaderRetrieves the default Autodesk Interactive transparent Shader for this pipeline.
default2DMaskMaterialGets the default 2D Mask Material used by Sprite Masks in Universal Render Pipeline.
default2DMaterialReturn the default 2D Material for this pipeline.
defaultLineMaterialReturn the default Line Material for this pipeline.
defaultMaterialReturn the default Material for this pipeline.
defaultParticleMaterialReturn the default particle Material for this pipeline.
defaultShaderReturn the default Shader for this pipeline.
defaultSpeedTree7ShaderReturn the default SpeedTree v7 Shader for this pipeline.
defaultSpeedTree8ShaderReturn the default SpeedTree v8 Shader for this pipeline.
defaultTerrainMaterialReturn the default Terrain Material for this pipeline.
defaultUIETC1SupportedMaterialReturn the default UI ETC1 Material for this pipeline.
defaultUIMaterialReturn the default UI Material for this pipeline.
defaultUIOverdrawMaterialReturn the default UI overdraw Material for this pipeline.
prefixedRenderingLayerMaskNamesReturns the names of the Rendering Layer Masks for this pipeline, with each name prefixed by a unique numerical ID.
renderingLayerMaskNamesReturns the names of the Rendering Layer Masks for this pipeline.
renderPipelineShaderTagReturns the Shader Tag value for the render pipeline that is described by this asset
terrainBrushPassIndexThe render index for the terrain brush in the editor.
terrainDetailGrassBillboardShaderReturn the detail grass billboard Shader for this pipeline.
terrainDetailGrassShaderReturn the detail grass Shader for this pipeline.
terrainDetailLitShaderReturn the detail lit Shader for this pipeline.

보호되는 함수

CreatePipelineCreate a IRenderPipeline specific to this asset.
OnDisableDefault implementation of OnDisable for RenderPipelineAsset. See ScriptableObject.OnDisable
OnValidateDefault implementation of OnValidate for RenderPipelineAsset. See MonoBehaviour.OnValidate

상속된 멤버

변수

hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameThe name of the object.

Public 함수

GetInstanceIDGets the instance ID of the object.
ToStringReturns the name of the object.

정적 함수

DestroyRemoves a GameObject, component or asset.
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindAnyObjectByTypeRetrieves any active loaded object of Type type.
FindFirstObjectByTypeRetrieves the first active loaded object of Type type.
FindObjectOfTypeReturns the first active loaded object of Type type.
FindObjectsByTypeRetrieves a list of all loaded objects of Type type.
FindObjectsOfTypeGets a list of all loaded objects of Type type.
InstantiateClones the object original and returns the clone.
CreateInstanceCreates an instance of a scriptable object.

연산자

boolDoes the object exist?
operator !=Compares if two objects refer to a different object.
operator ==Compares two object references to see if they refer to the same object.

메시지

AwakeThis function is called when the ScriptableObject script is started.
OnDestroyThis function is called when the scriptable object will be destroyed.
OnEnableThis function is called when the object is loaded.
ResetReset to default values.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961