mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-31 04:33:58 +02:00
wip
This commit is contained in:
@@ -27,11 +27,11 @@ export const chair = defineObject({
|
||||
},
|
||||
placement: 'floor',
|
||||
isChair: true,
|
||||
createInstance: ({ findMesh, options }) => {
|
||||
const primaryMesh = findMesh('__X_PRIMARY__');
|
||||
createInstance: ({ model, options }) => {
|
||||
const primaryMesh = model.findMesh('__X_PRIMARY__');
|
||||
const primaryMaterial = primaryMesh.material as BABYLON.PBRMaterial;
|
||||
|
||||
const secondaryMesh = findMesh('__X_SECONDARY__');
|
||||
const secondaryMesh = model.findMesh('__X_SECONDARY__');
|
||||
const secondaryMaterial = secondaryMesh.material as BABYLON.PBRMaterial;
|
||||
|
||||
const applyPrimaryColor = () => {
|
||||
|
||||
Reference in New Issue
Block a user