Skip to main content

FirstPersonInputComponent

@zylem/game-lib


@zylem/game-lib / behavior / FirstPersonInputComponent

Interface: FirstPersonInputComponent

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:20

Properties​

lookX​

lookX: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:26

Horizontal look delta (mouse/stick, raw value before sensitivity)


lookY​

lookY: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:28

Vertical look delta (mouse/stick, raw value before sensitivity)


moveX​

moveX: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:22

Horizontal movement input (-1 to 1, strafe)


moveZ​

moveZ: number

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:24

Forward/backward movement input (-1 to 1)


sprint​

sprint: boolean

Defined in: node_modules/.pnpm/@zylem+behaviors@0.8.9_@types+react@19.3.0_react@19.3.0_three@0.185.1/node_modules/@zylem/behaviors/dist/components-qWwOsvwh.d.ts:30

Sprint button held