zoukankan      html  css  js  c++  java
  • UE4 笔记2

    DrawMaterialToRenderTarget   渲染到纹理图片

    CreateRenderTarget2D   创建一个2D  rendertarget

     ClearRenderTarget2D  清除一个2D RenderTarget

    AddStaticMeshComponent   添加一个meshComponent

    AddTextRenderComponent  添加一个textComponent

    CreateDynamicMaterialInstance  创建一个材质实例

     RandomFloatInRange   在范围内随机一个浮点数

    RandomIntInRange     在范围内随机一个整数

    SetStaticMesh    设置meshComponent 的mesh组件

     DestoryActor   销毁Actor

    SetActor Hidden In Game   设置Actor隐藏

    SetCinematic Mode   设置影院模式

     CreateUserWidget Widget  创建玩家UI

    SetInputModeUIOnly  设置只接受UI输入

    SetInputModeGameOnly  设置游戏模式

    AddtoViewPort 添加到屏幕 UI

    remove from Parent  UI从父节点移除

    Add Child  添加子UI

    灯光设置

    SetLightColor 设置灯光颜色

    SetIntensity  设置灯光强度

    SetAttenuationRadius  设置灯光半径

    Find LookAt Rotation  从两个向量得到一个旋转

     Get Distance To    另一个actor距离这个actor的距离

     LineTraceForObjects   发射射线触碰到的物体

    编辑器工具

    Get Selected Assets  工具获取所有的选中资源

    Get Selected Asset Data  工具获取所有的AssetData  

    GetPlayerPawn   获得玩家的actor

    GetPlayerCharacter  获得玩家的character

    AddController Yaw Input  

    AddController Pitch Input

    AddMovement Input

    GetControl Rotation  获取玩家旋转

    GetPlayerCameraManager  获取玩家所有的相机  

    StartCameraFade  设置相机的Fade  就是遮罩  ,可以做场景切换

  • 相关阅读:
    Compiler Warning C4150: deletion of pointer to incomplete type 'XXX'; no destructor called
    What happend: Exception throws in the .ctor()?
    FocusScope学习一: Logic Focus与Keyboard Focus
    线性筛prime,强大O(n)
    网络流24题方格取数
    splay(1区间翻转区间最值与区间修改)
    排列组合容斥原理
    错排思路
    splay2(区间修改+内存回收)
    DP_1d1d诗人小G
  • 原文地址:https://www.cnblogs.com/dragon2012/p/15544903.html
Copyright © 2011-2022 走看看