zoukankan      html  css  js  c++  java
  • ue4 蓝图方法备份

    normalized 标准化
      向量标准化
      +- 1,1,1 内的值
      角度标准化
      +-180内的值
      delta A-B (输出时roll在后面)  角度相减

    interp 插值运算 (做平滑移动常用)   Interp Constant恒定速率插值,Interp变速值(看起来是减速的)
    Interp 方法注释:Interpolate rotator from Current to Target. Scaled by distance to Target, so it has a strong start speed and ease out.

    lineTraceForObjects 线性碰撞检测

    does Implement interface 是否继承接口检测

    Actor节点关系:
      attach 添加   node添加node
      detach 删除   node删除node

    Actor 可以Add ActorComponent,ActorComponet可以持有ActorComponent(一般Actor都有RootComponent)。
    ChildActorComponent可以设置Actor类,实现了Actor持有Actor。

    启动流程:
    gameMode , playerController控制pawn , 激活默认相机active camera , getPlayerControl 0  ----->获取默认控制器
    (没pawn就激活controller自身的camera)

    其他:

    委托  注意以函数名要以F开头   DelegateCombinations.h

    GenerateBoxMesh CreateMeshSection  ----->如果要自义生成Mesh  应该用的到

    6/4  GetAllActorsOfClass GetClassDefault

  • 相关阅读:
    605. Can Place Flowers
    1184. Distance Between Bus Stops
    1711. Count Good Meals
    1710. Maximum Units on a Truck
    566. Reshape the Matrix
    980. Unique Paths III
    212. Word Search II
    每日总结
    每日总结
    每日总结
  • 原文地址:https://www.cnblogs.com/mattins/p/5519518.html
Copyright © 2011-2022 走看看