Advertisement
Guest User

Untitled

a guest
Jul 3rd, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. uh3_CreateScene.i()
  2. uh3_FreeScene.i(*scene)
  3. uh3_CreateSceneComponent.i(*scene ,    component.l)
  4. uh3_CreateNode.i(*scene ,    name.s ,    createMode.l = #UH3_NODELOCAL)
  5. uh3_SaveScene.i(*scene ,    name.s ,    format.l)
  6. uh3_LoadSceneFromFile.i(*scene ,    name.s ,    format.l)
  7. uh3_LoadSceneFromResource.i(*scene ,    *resource ,    format.l)
  8. uh3_UpdateScene(*scene ,    timestep.f)
  9. uh3_CreateViewport.i(*scene ,    *camera ,    index.l = 0)
  10. uh3_CreateUnasignedViewport.i(*scene ,    *camera)
  11. uh3_SetViewportBackgroundColor.i(*viewport ,    color.l)
  12. uh3_SetViewportRect(*viewport ,    left.l ,    top.l ,    right.l ,    bottom.l)
  13. uh3_SetViewportRenderPathXML(*viewport ,    *XMLResource)
  14. uh3_CreateNodeComponent.i(*node ,    component.l)
  15. uh3_GetNodeComponent.i(*node ,    component.l)
  16. uh3_GetNodeChildByName.i(*node ,    name.s ,    recursive.b = #False)
  17. uh3_GetNodeChildByID.i(*node ,    id.l)
  18. uh3_SetNodeTemporary(state.l)
  19. uh3_SetNodePosition(*node ,    x.f ,    y.f ,    z.f)
  20. uh3_NodeTranslate(*node ,    x.f ,    y.f ,    z.f ,    mode.l = #UH3_LOCAL)
  21. uh3_SetNodeRotation(*node ,    x.f ,    y.f ,    z.f)
  22. uh3_NodeRotate(*node ,    x.f ,    y.f ,    z.f ,    mode.l = #UH3_LOCAL)
  23. uh3_SetNodeDirection(*node ,     x.f ,     y.f ,     z.f)
  24. uh3_SetNodeUniformScale(*node ,     scale.f)
  25. uh3_SetNodeScale(*node ,    x.f ,     y.f ,     z.f)
  26. uh3_SetNodeWorldPosition(*node ,     x.f ,     y.f ,     z.f)
  27. uh3_NodeLookAt(*node ,     x.f ,     y.f ,     z.f ,     ux.f = 0.0 ,     uy.f = 1.0 ,     uz.f = 0.0 ,     mode.l = #UH3_PARENT)
  28. uh3_SetNodePitch(*node ,     pitch.f ,     mode.l = #UH3_LOCAL)
  29. uh3_SetNodeYaw(*node ,     yaw.f ,     mode.l = #UH3_LOCAL)
  30. uh3_SetNodeRoll(*node ,     roll.f ,     mode.l = #UH3_LOCAL)
  31. uh3_GetNodePositionX.f(*node)
  32. uh3_GetNodePositionY.f(*node)
  33. uh3_GetNodePositionZ.f(*node)
  34. uh3_GetNodeRotationX.f(*node)
  35. uh3_GetNodeRotationY.f(*node)
  36. uh3_GetNodeRotationZ.f(*node)
  37. uh3_GetNodeDirectionX.f(*node)
  38. uh3_GetNodeDirectionY.f(*node)
  39. uh3_GetNodeDirectionZ.f(*node)
  40. uh3_GetNodeWorldDirectionX.f(*node)
  41. uh3_GetNodeWorldDirectionY.f(*node)
  42. uh3_GetNodeWorldDirectionZ.f(*node)
  43. uh3_GetNodeWorldPositionX.f(*node)
  44. uh3_GetNodeWorldPositionY.f(*node)
  45. uh3_GetNodeWorldPositionZ.f(*node)
  46. uh3_GetNodeWorldRotationX.f(*node)
  47. uh3_GetNodeWorldRotationY.f(*node)
  48. uh3_GetNodeWorldRotationZ.f(*node)
  49. uh3_NodeCreateChild.i(*node ,     name.s ,     type.l = #UH3_NODELOCAL)
  50. uh3_NodeCreateTemporaryChild.i(*node ,     name.s ,     type.l = #UH3_NODELOCAL)
  51. uh3_NodeAttach(*nodeParent ,     *nodeChild)
  52. uh3_NodeRemoveChild(*node ,     *nodeToRemove)
  53. uh3_NodeRemoveAllChild(*node)
  54. uh3_NodeRemoveChildren(*node ,     replicated.l ,     local.l ,     recursive.l)
  55. uh3_SetNodeParent(*node ,     *parent)
  56. uh3_SetNodeEnabled(*node ,     state.l)
  57. uh3_SetNodeDeepEnabled(*node ,     state.l)
  58. uh3_getStaticModel.i(*node ,    recursive.l)
  59. uh3_SetStaticModel(*node ,    *model)
  60. uh3_SetStaticModelMaterial(*model ,    *material)
  61. uh3_SetStaticModelCastShadow(*model ,    enable.l)
  62. uh3_GetStaticModelCastShadow.l(*model)
  63. uh3_SetStaticModelViewMask(*model ,    mask.l)
  64. uh3_GetAnimatedModel.i(*node)
  65. uh3_GetAnimationController.i(*AnimatedModel)
  66. uh3_PlayAnimation(*controller ,    name.s ,    layer.a ,    looped.l ,    fadeTime.f)
  67. uh3_SetAnimationSpeed(*controller ,    name.s ,    speed.f)
  68. uh3_StopAllAnimation(*controller ,    fadeTime.f)
  69. uh3_AnimationIsEnd.l(*controller ,    name.s)
  70. uh3_NodeLoadScript(*node ,    *resourceFile ,    class.s)
  71. uh3_GetLight.i(*node ,    recursive = #False)
  72. uh3_SetLightType(*light ,    type.l)
  73. uh3_SetLightCastShadow(*light ,    enable.b)
  74. uh3_SetLightPerVertex(*light ,    enable.b)
  75. uh3_SetLightColor(*light ,    color.l)
  76. uh3_SetLightSpecularIntensity(*light ,    specular.f)
  77. uh3_SetLightRange(*light ,     range.f)
  78. uh3_SetLightFov(*light ,     fov.f)
  79. uh3_SetLightAspectRatio(*light ,     aspectRatio.f)
  80. uh3_SetLightFadeDistance(*light ,     distance.f)
  81. uh3_SetLightShadowFadeDistance(*light ,     distance.f)
  82. uh3_SetLightShadowBias(*light ,    constantBias.f ,     slopeScaledBias.f)
  83. uh3_SetLightShadowCascade(*light ,    split1.f ,    split2.f ,    split3.f ,    split4.f ,    fadeStart.f ,    biasAutoAdjust.f)
  84. uh3_SetLightShadowIntensity(*light ,    intensity.f)
  85. uh3_SetLightShadowResolution(*light ,    resolution.f)
  86. uh3_SetLightShadowNearFarRatio(*light ,    nearFarRatio.f)
  87. uh3_SetLightRampTexture(*light ,    *texture)
  88. uh3_SetLightShapeTexture(*light ,    *texture)
  89. uh3_SetLightShadowFocus(*light ,    focus.l ,    nonUniform.l ,    autoSize.l ,    quantize.f ,    minView.f)
  90. uh3_CreateTexture2D.i(width.l ,    height.l ,    format.l = #UH3_TEXTURE_RGBA ,    level.l = 1 ,    usage.l = #UH3_TEXTURE_STATIC)
  91. uh3_FreeTexture2D(*texture2D)
  92. uh3_SetTexture2DData.l(*texture2D ,    x.l ,    y.l ,    width.l ,    height.l ,    level.l ,    *pixels)
  93. uh3_GetTexture2DData(*texture2D ,    level.l ,    *pixelsDestination)
  94. uh3_GetTexture2DRenderSurface.i(*texture2D)
  95. uh3_SetTextureFilterMode(*texture2D ,    mode.l)
  96. uh3_SetTextureName(*texture ,    name.s)
  97. uh3_SetRenderSurfaceViewport(*surface ,    index.l ,    *viewport)
  98. uh3_CreateMaterial.i()
  99. uh3_SetMaterialTechnique(*material ,    index.l ,    *technique ,    quality.l = 0 ,    lodDistance.f = 0.0)
  100. uh3_SetMaterialTexture(*material ,    *texture ,    textureUnit.l)
  101. uh3_SetMaterialUVTransform(*material ,    offset_x.f ,    offset_y.f ,    rotation.f ,    repeat_x.f ,    repeat_y.f)
  102. uh3_SaveMaterial.l(*material ,     name.s ,     format.l)
  103. uh3_LoadMaterialFromFile.l(*material ,     name.s ,     format.l)
  104. uh3_SetMaterialShaderParameterInteger(*material ,     name.s ,     value.l)
  105. uh3_SetMaterialShaderParameterFloat(*material ,     name.s ,     value.f)
  106. uh3_SetMaterialShaderParameterVector2(*material ,     name.s ,     x.f ,     y.f)
  107. uh3_SetMaterialShaderParameterVector3(*material ,     name.s ,     x.f ,     y.f ,     z.f)
  108. uh3_SetMaterialShaderParameterVector4(*material ,     name.s ,     x.f ,     y.f ,     z.f ,     w.f)
  109. uh3_GetMaterialShaderParameterInteger(*material ,     name.s ,     *value)
  110. uh3_GetMaterialShaderParameterFloat(*material ,     name.s ,     *value)
  111. uh3_GetMaterialShaderParameterVector2(*material ,     name.s ,     *x ,     *y)
  112. uh3_GetMaterialShaderParameterVector3(*material ,     name.s ,     *x ,     *y ,     *z)
  113. uh3_GetMaterialShaderParameterVector4(*material ,     name.s ,     *x ,     *y ,     *z ,     *w)
  114. uh3_SetMaterialCullMode(*material ,    cullMode.l)
  115. uh3_GetMaterialCullMode.l(*material)
  116. uh3_SetMaterialShadowCullMode(*material ,     cullMode.l)
  117. uh3_GetMaterialShadowCullMode.l(*material)
  118. uh3_SetMaterialFillMode(*material ,     fillMode.l)
  119. uh3_GetMaterialFillMode.l(*material)
  120. uh3_SetMaterialDepthBias(*material ,    constantBias.f ,    slopeScaledBias.f ,    normalOffset.f)
  121. uh3_GetMaterialDepthBias(*material ,    *constantBias ,     *slopeScaledBias ,     *normalOffset)
  122. uh3_SetMaterialRenderOrder(*material ,     order.a)
  123. uh3_GetMaterialRenderOrder.a(*material)
  124. uh3_GetMaterialTechniqueNumber.l(*material)
  125. uh3_GetMaterialTechnique.i(*material ,     index.l)
  126. uh3_SetCameraFov(*camera ,    fov.f)
  127. uh3_GetCameraFov.f(*camera)
  128. uh3_SetCameraNearClip(*camera ,    near.f)
  129. uh3_GetCameraNearClip.f(*camera)
  130. uh3_SetCameraFarClip(*camera ,    far.f)
  131. uh3_GetCameraFarClip.f(*camera ,    far.f)
  132. uh3_SetCameraViewMask(*camera ,    viewMask.l)
  133. uh3_GetCameraViewMask.l(*camera)
  134. uh3_SetCameraAutoAspectRatio(*camera ,    enable.l)
  135. uh3_SetCameraUseReflection(*camera ,    enable.l)
  136. uh3_SetCameraReflectionPlane(*camera ,    *plane)
  137. uh3_SetCameraUseClipping(*camera ,    enable.l)
  138. uh3_SetCameraClipPlane(*camera ,    *plane)
  139. uh3_SetCameraAspectRatio(*camera ,    aspectRatio.f)
  140. uh3_CreatePlane.i(nx.f ,    ny.f ,    nz.f ,    px.f ,    py.f ,    pz.f)
  141. uh3_CreatePlane2.i(*node ,    nx.f ,    ny.f ,    nz.f ,    px.f ,    py.f ,    pz.f)
  142. uh3_FreePlane(*plane)
  143. uh3_SetSkyboxModel(*skybox ,    *model)
  144. uh3_SetSkyboxMaterial(*skybox ,    *material)
  145. uh3_SetZoneSize(*zone ,    minx.f ,    miny.f ,    minz.f ,    maxx.f ,    maxy.f ,    maxz.f)
  146. uh3_SetZoneAmbientColor(*zone ,    color.l)
  147. uh3_SetZoneFogColor(*zone ,    color.l)
  148. uh3_SetZoneFogStart(*zone ,    fogStart.f)
  149. uh3_SetZoneFogEnd(*zone ,    fogEnd.f)
  150. uh3_SetTerrainPatchSize(*terrain ,    size.l)
  151. uh3_GetTerrainPatchSize.i(*terrain)
  152. uh3_SetTerrainSpacing(*terrain ,    x.f ,    y.f ,    z.f)
  153. uh3_GetTerrainSpacing(*terrain ,    *x ,    *y ,    *z)
  154. uh3_SetMaxLodLevel(*terrain ,    levels.i)
  155. uh3_GetMaxLodLevel.l(*terrain)
  156. uh3_SetTerrainSmoothing(*terrain ,    enable.i)
  157. uh3_GetTerrainSmoothing.i(*terrain)
  158. uh3_SetTerrainHeightMap.i(*terrain ,    *image)
  159. uh3_SetTerrainApplyHeightMap(*terrain)
  160. uh3_SetTerrainMaterial(*terrain ,    *material)
  161. uh3_GetTerrainMaterial.i(*terrain)
  162. uh3_SetTerrainNeighbor(*terrain ,    *neighborTerrain ,    neighborLocation.l)
  163. uh3_GetTerrainHeight.f(*terrain ,    x.f ,    y.f ,    z.f)
  164. uh3_GetTerrainNormal(*terrain ,    x.f ,    y.f ,    z.f ,    *nx ,    *ny ,     *nz)
  165. uh3_SetTerrainOccluder(*terrain ,    state.l)
  166. uh3_GetTerrainOccluder.l(*terrain)
  167. uh3_SetTerrainCastShadow(*terrain ,    state.l)
  168. uh3_GetTerrainCastShadow.l(*terrain)
  169. uh3_GetTerrainWorldToHeightmap(*terrain ,    x.f ,    y.f ,    z.f ,    *px ,    *py)
  170. uh3_SetTerrainLodBias(*terrain ,    bias.f)
  171. uh3_InitEngine3D(argc.l ,    *argv)
  172. uh3_OpenScreen3D(width.l ,    height.l ,    fullscreen.l ,    title.s ,    resizable.l)
  173. uh3_EmbedScreen(*window)
  174. uh3_EngineRun.i()
  175. uh3_EngineExit()
  176. uh3_EngineRenderFrame()
  177. uh3_PoolEvent(*event)
  178. uh3_BindEvent(type.l ,    *callback)
  179. uh3_UnBindEvent(type.l ,    *callback)
  180. uh3_GetResource.i(type.l ,    name.s)
  181. uh3_GetResourceBackground.l(type.l ,    name.s)
  182. uh3_AddManualResource(*resource)
  183. uh3_SetDrawShadow(enable.l)
  184. uh3_GetDrawShadow.l()
  185. uh3_SetHDRRendering(enable.l)
  186. uh3_GetHDRRendering.l()
  187. uh3_SetSpecularLighting(enable.l)
  188. uh3_GetSpecularLighting.l()
  189. uh3_SetShadowMapSize(size.l)
  190. uh3_SetShadowMapQuality(quality.l)
  191. uh3_GetShadowMapQuality.l()
  192. uh3_DrawDebugGeometry(component.l ,    *node ,    *debugrenderer ,    depthTest.l)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement