Variables
Const AmbientMode
AmbientMode: typeof AmbientModeEnum = ...
Const BuildInTextures
Let EnumUniformType
Let EnumVertexFormat
Const Environment
Environment: typeof EnvironmentEnum = ...
Const FogMode
FogMode: typeof FogModeEnum = ...
Const ForwardBaseUniformBlockDesc
ForwardBaseUniformBlockDesc: {} = ...
Const GroupPlatform
GroupPlatform: typeof GroupPlatformEnum = ...
Const HDR_PIXEL_FORMAT
Image
Image: { IS: any }
Type declaration
-
IS: function
-
Parameters
Returns obj is IImage
KANATA_VERSION
KANATA_VERSION: "1.0.3"
Const Platform
Platform: typeof PlatformEnum = ...
Const TypeNames
TypeNames: { ActivationPlayableAsset: string; ActivationTrackAsset: string; Animation: string; AnimationClip: string; AnimationPlayableAsset: string; AnimationTrackAsset: string; Animator: string; AnimatorController: string; Atlas: string; AudioAttenuationNode: string; AudioBiquadFilterNode: string; AudioClip: string; AudioDistortion: string; AudioDistortionNode: string; AudioDuckNode: string; AudioEcho: string; AudioEchoNode: string; AudioHighPassFilter: string; AudioHighPassFilterNode: string; AudioListener: string; AudioListenerNode: string; AudioLowPassFilter: string; AudioLowPassFilterNode: string; AudioMixerAsset: string; AudioPannerNode: string; AudioPlayableAsset: string; AudioReceiveNode: string; AudioSendNode: string; AudioSource: string; AudioSourceNode: string; AudioTrackAsset: string; Avatar: string; AvatarMask: string; BitmapFont: string; Boolean: string; BooleanVector3: string; BoundBall: string; BoundBox: string; BoxCollider: string; Camera: string; Canvas2D: string; CapsuleCollider: string; CharacterController: string; Color: string; Component: string; Constant: string; ControlPlayableAsset: string; ControlTrackAsset: string; CullingMask: string; Curve: string; DirectionalLight: string; Effect: string; Entity: string; Font: string; Gradient: string; GradientColor: string; GroupTrackAsset: string; HermiteCurve: string; KeyboardInput: string; LODGroup: string; Layout: string; LineRenderer: string; Material: string; Mesh: string; MeshCollider: string; MeshRenderer: string; Number: string; Object: string; OneColor: string; OpenDataContainer: string; Particle: string; ParticleBoxShape: string; ParticleCircleShape: string; ParticleColorByLife: string; ParticleCommon: string; ParticleConeShape: string; ParticleEmitter: string; ParticleEmitterBurst: string; ParticleEmitterShape: string; ParticleHemiSphereShape: string; ParticleRenderer: string; ParticleRotationByLife: string; ParticleSizeByLife: string; ParticleSpeedByLife: string; ParticleSpeedLimitByLife: string; ParticleSphereShape: string; ParticleTextureSheetAnimation: string; PhysicMaterial: string; Playable: string; PlayableDirector: string; PointLight: string; PostProcess: string; Prefab: string; Quaternion: string; Raw: string; RawResourceCollection: string; Rect: string; RenderTexture: string; Renderable2D: string; Rigidbody: string; Scene: string; ScriptableAsset: string; Skeleton: string; SkinnedAnimationRenderer: string; SkinnedMeshRenderer: string; SphereCollider: string; SpotLight: string; SpriteFrame: string; StreamingLoadingComponent: string; String: string; Texture2D: string; TextureCube: string; TimelineClip: string; TouchInput: string; TrackAsset: string; TrailRenderer: string; Transform2D: string; Transform3D: string; TransformBase: string; Tutorial: string; TutorialPage: string; TutorialSection: string; TutorialWelcome: string; TwoColors: string; TwoConstants: string; TwoCurves: string; TwoGradients: string; UIAnchor: string; UIButton: string; UICamera: string; UICanvas: string; UIFrameAnimation: string; UIGraphic: string; UIGrid: string; UILabel: string; UILayer: string; UIMask: string; UIMesh: string; UIRichText: string; UIScrollView: string; UISprite: string; UITextInput: string; UIToggle: string; UIToggleGroup: string; UIWidget: string; Variant: string; Vector2: string; Vector3: string; Vector4: string } = ...
Const WrapMode
WrapMode: typeof WrapModeEnum = ...
Const adaptation
adaptation: Adaptation = ...
Const buildInVertexLayoutFactory3D
buildInVertexLayoutFactory3D: BuildInVertexLayoutFactory = ...
Const buildin2DVertexLayout
Let cache
cache: CacheManager
Let canvas
canvas: HTMLCanvasElement
Const crossContextDataBus
Const decorators
decorators: { audioEffectComponentConfig: (options: IAudioEffectComponentConfig) => ClassDecorator; audioSideChainInterface: (options: ISideChainConfig) => PropertyDecorator; componentDimensionType: (dimensionType: EComponentDimensionType) => (classCtor: Function) => void; context: (aliasTable: {}) => (classCtor: SerializableCtor) => void; property: { array: any; enum: any; multi: any }; serialize: (typeName: string, isValueType?: boolean) => ClassDecorator; snapshotParameter: (options: ISnapshotParamConfig) => PropertyDecorator; trackAssetConfig: (__namedParameters: ITrackConfig) => ClassDecorator; writable: (value: boolean) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void; CreateAssetMenu: any; Criterion: any; CustomBuildComponent: any; CustomComponentInspector: any; CustomPropertyInspector: any; EditorWindow: any; InsepctorName: any; Inspector: any; PropInspector: any; SerializedData: any; UseSerializedData: any } = ...
Type declaration
-
audioEffectComponentConfig: (options: IAudioEffectComponentConfig) => ClassDecorator
-
- (options: IAudioEffectComponentConfig): ClassDecorator
-
Parameters
-
options: IAudioEffectComponentConfig
Returns ClassDecorator
-
audioSideChainInterface: (options: ISideChainConfig) => PropertyDecorator
-
- (options: ISideChainConfig): PropertyDecorator
-
Parameters
-
options: ISideChainConfig
Returns PropertyDecorator
-
componentDimensionType: (dimensionType: EComponentDimensionType) => (classCtor: Function) => void
-
- (dimensionType: EComponentDimensionType): (classCtor: Function) => void
-
Parameters
-
dimensionType: EComponentDimensionType
Returns (classCtor: Function) => void
-
- (classCtor: Function): void
-
context: (aliasTable: {}) => (classCtor: SerializableCtor) => void
-
- (aliasTable: {}): (classCtor: SerializableCtor) => void
-
Parameters
Returns (classCtor: SerializableCtor) => void
-
- (classCtor: SerializableCtor): void
-
Parameters
-
classCtor: SerializableCtor
Returns void
-
property: { array: any; enum: any; multi: any }
-
- (config: IPropertyConfig): PropertyDecorator & ParameterDecorator
-
Parameters
Returns PropertyDecorator & ParameterDecorator
-
array: function
- array(index: number, config: IPropertyConfig & { type: string }): PropertyDecorator & ParameterDecorator
-
Parameters
-
index: number
-
config: IPropertyConfig & { type: string }
Returns PropertyDecorator & ParameterDecorator
-
enum: function
- enum(config: IPropertyEnumConfig): PropertyDecorator & ParameterDecorator
-
Parameters
-
config: IPropertyEnumConfig
Returns PropertyDecorator & ParameterDecorator
-
multi: function
- multi(config: IPropertyMultiConfig): PropertyDecorator & ParameterDecorator
-
Parameters
-
config: IPropertyMultiConfig
Returns PropertyDecorator & ParameterDecorator
-
serialize: (typeName: string, isValueType?: boolean) => ClassDecorator
-
- (typeName: string, isValueType?: boolean): ClassDecorator
-
Parameters
-
typeName: string
-
isValueType: boolean = false
Returns ClassDecorator
-
snapshotParameter: (options: ISnapshotParamConfig) => PropertyDecorator
-
- (options: ISnapshotParamConfig): PropertyDecorator
-
Parameters
-
options: ISnapshotParamConfig
Returns PropertyDecorator
-
trackAssetConfig: (__namedParameters: ITrackConfig) => ClassDecorator
-
- (__namedParameters: ITrackConfig): ClassDecorator
-
Parameters
-
__namedParameters: ITrackConfig
Returns ClassDecorator
-
writable: (value: boolean) => (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void
-
- (value: boolean): (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void
-
Parameters
Returns (target: any, propertyKey: string, descriptor: PropertyDescriptor) => void
-
- (target: any, propertyKey: string, descriptor: PropertyDescriptor): void
-
Parameters
-
target: any
-
propertyKey: string
-
descriptor: PropertyDescriptor
Returns void
-
CreateAssetMenu: function
- CreateAssetMenu(fileName?: string, menuName?: string, order?: number): ClassDecorator
-
Parameters
-
fileName: string = "New File"
-
menuName: string = "assetMenu"
-
order: number = 999
Returns ClassDecorator
-
Criterion: function
- Criterion(criterionName?: string): ClassDecorator
-
Parameters
-
criterionName: string = 'DemoCriterion'
Returns ClassDecorator
-
CustomBuildComponent: function
- CustomBuildComponent(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
CustomComponentInspector: function
- CustomComponentInspector(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
CustomPropertyInspector: function
- CustomPropertyInspector(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
EditorWindow: function
- EditorWindow(name: string, windowLabel: string): ClassDecorator
-
Parameters
-
name: string
-
windowLabel: string
Returns ClassDecorator
-
InsepctorName: function
- InsepctorName(typeName: string): (classCtor: any) => void
-
Parameters
Returns (classCtor: any) => void
-
Inspector: function
- Inspector(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
PropInspector: function
- PropInspector(name: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
SerializedData: function
- SerializedData(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
-
UseSerializedData: function
- UseSerializedData(typeName: string): ClassDecorator
-
Parameters
Returns ClassDecorator
Const device
device: Device = ...
Let game
Let gctx
gctx: typeof InternalGctx | undefined
Let host
host: string = ""
Let lanDebugHost
lanDebugHost: { ip: string; port: number } | undefined
Let loader
Const ppEffectMap
ppEffectMap: { 0: string; 1: string; 2: string; 3: string; 4: string } = ...
Type declaration
-
0: string
-
1: string
-
2: string
-
3: string
-
4: string
Let renderer
Const settings
settings: Settings = ...
Let timer
timer: Timer
Const version
version: string = ...
Const workerVersion
workerVersion: "1.1" = "1.1"
压缩纹理类型。