we
    Preparing search index...

    Class BaseParticleAbstract

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _id: number

    节点ID node ID

    _isDestroy: boolean = false
    _manager: undefined | ECSManager<RootGPU>
    _name: string

    节点名称 node name

    _readyForGPU: boolean

    节点是否以及GPU准备好 node is ready of GPU

    _state: E_lifeState = E_lifeState.unstart
    device: GPUDevice
    inputValues: I_Update
    lastUpdaeTime: number = 0
    mapList: { key: any; map?: string; type: string }[] = []
    needUpdateuserDefine: boolean = false

    是否用户自定义更新函数

    needUpdateuserDefineAtEnd: boolean = false

    是否用户自定义更新函数,在update()函数最后调用

    resourcesGPU: ResourceManagerOfGPU
    scene: Scene
    type: string

    节点类型 node type

    UUID: string

    节点UUID node UUID

    Accessors

    Methods

    • 正常更新 1、更新I_Update的自定义function 2、调用updateSelf()更新自身私有属性

      Parameters

      • clock: Clock

        Clock 时钟

      • updateSelftFN: boolean = true

        是否调用自身的updateSelf(),默认=true 此参数可以方便子类重载时,决定调用的updateSelf()的时间顺序或是否调用updateSelft()

      • updateAtEndFN: boolean = true

      Returns boolean