zoukankan      html  css  js  c++  java
  • [UE4]组件

    用来组成Actor的子对象,Actor是由组件组成的。

     几个关键的Component类型:

    一、UActorComponent

      这个Component的基类,可以被放到Actor里面, 可以接受Tick事件(每隔一帧调用一次)。

      UActorComponent本身是没有3D变化(位置、缩放、朝向)数据的,也就是对位置、缩放、朝向不关心。

    二、UsceneComponent

      带有3D变化(位置、缩放、朝向)的ActorComponent。

      UsceneComponent能够形成一定的成绩结构。Actor的位置、缩放、朝向取决于作为根组件Root的UsceneComponent。

      Actor的根组件必须是UsceneComponent,UsceneComponent是有3D变化(位置、缩放、朝向)数据的。

    三、UPrimitiveComponent

      UPrimitiveComponent是带有图形(比如网格mesh或者particle system粒子)表现的UsceneComponent。

  • 相关阅读:
    python virtualenv
    ICMP
    正则表达式
    tcpdump命令
    vim命令
    IP网际协议
    链路层
    python模块学习 logging
    Angular2+如何去除url中的#
    angular5懒加载之模块划分
  • 原文地址:https://www.cnblogs.com/timy/p/9005596.html
Copyright © 2011-2022 走看看