Hierarchy (View Summary)

Constructors

Properties

_material: any
animationInfo: {
    animationsList: GLTFParsedSingleClip[];
    morphInfo: MorphInfo_GLTF;
    skinInfo: ParsedSkinInfo_GLTF;
} = ...
baseColor: any
castShadow: boolean = false
dirtyOpacity: boolean = true
dirtyPipeline: boolean = true
dirtyTransform: boolean = true
displacementTexture: BitmapTexture
gltfLoaderInfo: GLTFLoader
gpuRenderInfo: VertexGPURenderInfo
localMatrix: mat4 = ...
meshType: string
modelMatrix: mat4 = ...
normalModelMatrix: mat4 = ...
receiveShadow: boolean
useDisplacementTexture: boolean

Accessors

  • get gpuDevice(): GPUDevice

    Retrieves the GPU device associated with the current instance.

    Returns GPUDevice

    The GPU device.

  • get ignoreFrustumCulling(): boolean

    Returns boolean

  • set ignoreFrustumCulling(value: boolean): void

    Parameters

    • value: boolean

    Returns void

  • get uuid(): string

    Retrieves the UUID of the object.

    Returns string

    The UUID of the object.

  • get vertexStateBuffers(): GPUVertexBufferLayout[]

    Returns GPUVertexBufferLayout[]

Methods

  • Fires the dirty listeners list.

    Parameters

    • OptionalresetList: boolean = false

      Indicates whether to reset the dirty listeners list after firing.

    Returns void

  • Parameters

    • x: number = 0
    • y: number = 0
    • z: number = 0
    • color: string = ...
    • colorAlpha: number = 1
    • inX: number = 0
    • inY: number = 0
    • inZ: number = 0
    • outX: number = 0
    • outY: number = 0
    • outZ: number = 0

    Returns void

  • Parameters

    • index: number
    • x: number = 0
    • y: number = 0
    • z: number = 0
    • color: string = ...
    • colorAlpha: number = 1
    • inX: number = 0
    • inY: number = 0
    • inZ: number = 0
    • outX: number = 0
    • outY: number = 0
    • outZ: number = 0

    Returns void

  • Parameters

    • VERTEX_SHADER_MODULE_NAME: any
    • SHADER_INFO: any
    • UNIFORM_STRUCT_BASIC: any
    • vertexModuleSource: any

    Returns GPUShaderModule

  • Parameters

    • targetX: number | [number, number, number]
    • OptionaltargetY: number
    • OptionaltargetZ: number

    Returns void

  • Removes a child at the specified index from the object's children array.

    Parameters

    • index: number

      The index of the child to be removed.

    Returns Mesh

    Returns the removed child object, or null if the index is out of range or the child does not exist.

  • Sets the index of a child object within the object's children array.

    Parameters

    • child: Mesh

      The child object whose index will be set.

    • index: number

      The new index position for the child object.

    Returns void

    • This method does not return anything.
  • Parameters

    • rotationX: number
    • OptionalrotationY: number
    • OptionalrotationZ: number

    Returns void

  • Swaps the position of two child objects at the specified indices.

    Parameters

    • index1: number

      The index of the first child object.

    • index2: number

      The index of the second child object.

    Returns void

    • If either index1 or index2 is out of range.