Options
All
  • Public
  • Public/Protected
  • All
Menu

Module model

Index

Variables

Const ModelShadowCastingMode

ModelShadowCastingMode: { OFF: number; ON: number } = Enum({/*** @en Disable shadow projection.* @zh 不投射阴影。*/OFF: 0,/*** @en Enable shadow projection.* @zh 开启阴影投射。*/ON: 1,})
en

Shadow projection mode.

zh

阴影投射方式。

Type declaration

  • OFF: number
    en

    Disable shadow projection.

    zh

    不投射阴影。

  • ON: number
    en

    Enable shadow projection.

    zh

    开启阴影投射。

Const ModelShadowReceivingMode

ModelShadowReceivingMode: { OFF: number; ON: number } = Enum({/*** @en Disable shadow projection.* @zh 不接收阴影。*/OFF: 0,/*** @en Enable shadow projection.* @zh 开启阴影投射。*/ON: 1,})
en

Shadow receive mode.

zh

阴影接收方式。

Type declaration

  • OFF: number
    en

    Disable shadow projection.

    zh

    不接收阴影。

  • ON: number
    en

    Enable shadow projection.

    zh

    开启阴影投射。

Const batch_extras_size

batch_extras_size: number = FormatInfos[batch_id.format].size + FormatInfos[batch_uv.format].size

Const batch_id

batch_id: Attribute = new Attribute(AttributeName.ATTR_BATCH_ID, Format.R32F)

Const batch_uv

batch_uv: Attribute = new Attribute(AttributeName.ATTR_BATCH_UV, Format.RG32F)

Const m4_1

m4_1: Mat4 = new Mat4()

Const m4_local

m4_local: Mat4 = new Mat4()

Const v3_1

v3_1: Vec3 = new Vec3()

Functions

Const repeat

  • repeat(n: number): number

Object literals

Const matInsInfo

matInsInfo: object

owner

owner: never = null!

parent

parent: never = null!

subModelIdx

subModelIdx: number = 0

Generated using TypeDoc