Skip to content

Instantly share code, notes, and snippets.

View ynagatomo's full-sized avatar

Yasuhito Nagatomo ynagatomo

View GitHub Profile
@arthurschiller
arthurschiller / RealityKit_CustomBindTargetAnimation.swift
Last active December 6, 2023 11:59
RealityKit visionOS – Animate Custom Bind Target Parameters 🏃‍♀️
import SwiftUI
import RealityKit
struct AnimationDemoView: View {
@Environment(\.realityKitScene) var scene: RealityKit.Scene?
init() {
// register System and Component – Important!
AnimationSystem.registerSystem()
AnimationComponent.registerComponent()
@arthurschiller
arthurschiller / RealityRendererTest.swift
Last active April 25, 2024 18:59
RealityRenderer Test (visionOS)
//
// RealityRendererView.swift
// RealityRendererTest
//
// Created by Arthur Schiller on 11.01.24.
//
import SwiftUI
import Metal
import MetalKit