편집

다음을 통해 공유


Microsoft.MixedReality.Toolkit.Experimental.Physics Namespace

Classes

ElasticConfiguration

Scriptable object that wraps the ElasticProperties struct, allowing for easily reusable spring configs.

ElasticsManager

ElasticsManager can be used to add elastics simulation to supporting components. Call Initialize on manipulation start. Call ApplyHostTransform to apply elastics calculation to target transform. Elastics will continue simulating once manipulation ends through its update function - to block the elastics auto update set EnableElasticsUpdate to false.

LinearElasticSystem
QuaternionElasticSystem
VolumeElasticSystem

Structs

ElasticProperties

Properties of the damped harmonic oscillator differential system.

LinearElasticExtent

Properties of a linear, one-dimensional extent in which a damped harmonic oscillator is free to move.

QuaternionElasticExtent

Properties of a four-dimensional extent in which a damped harmonic oscillator is free to rotate.

VolumeElasticExtent

Properties of a three-dimensional extent in which a damped harmonic oscillator is free to move.

Interfaces

IElasticSystem<T>

Represents a damped harmonic oscillator over an N-dimensional vector space, specified by generic type T.

This extensibility allows not just for 1, 2, and 3-D springs, but allows for 4-dimensional quaternion springs.