rename. prefix to Vrm0x

This commit is contained in:
ousttrue 2024-09-19 15:06:08 +09:00
parent ee3ce66034
commit 612e04c8e1
9 changed files with 8 additions and 8 deletions

View File

@ -20,7 +20,7 @@ namespace VRM
}
}
IVRM0SpringBoneRuntime _springBoneRuntime;
IVrm0xSpringBoneRuntime _springBoneRuntime;
public VRMImporterContext(
VRMData data,
@ -28,12 +28,12 @@ namespace VRM
ITextureDeserializer textureDeserializer = null,
IMaterialDescriptorGenerator materialGenerator = null,
ImporterContextSettings settings = null,
IVRM0SpringBoneRuntime springboneRuntime = null)
IVrm0xSpringBoneRuntime springboneRuntime = null)
: base(data.Data, externalObjectMap, textureDeserializer, materialGenerator ?? VrmMaterialDescriptorGeneratorUtility.GetValidVrmMaterialDescriptorGenerator(data.VrmExtension), settings ?? new ImporterContextSettings(false))
{
_data = data;
TextureDescriptorGenerator = new VrmTextureDescriptorGenerator(Data, VRM);
_springBoneRuntime = springboneRuntime ?? new VRMSpringBoneDefaultRuntime();
_springBoneRuntime = springboneRuntime ?? new Vrm0xSpringBoneDefaultRuntime();
}
#region OnLoad

View File

@ -74,7 +74,7 @@ namespace VRM
MetaCallback metaCallback = null,
ITextureDeserializer textureDeserializer = null,
bool loadAnimation = false,
IVRM0SpringBoneRuntime springboneRuntime = null
IVrm0xSpringBoneRuntime springboneRuntime = null
)
{
if (bytes == null)

View File

@ -4,7 +4,7 @@ using UnityEngine;
namespace VRM
{
public interface IVRM0SpringBoneRuntime
public interface IVrm0xSpringBoneRuntime
{
public Task InitializeAsync(GameObject vrm, IAwaitCaller awaitCaller);
}

View File

@ -14,7 +14,7 @@ namespace VRM
/// FastSpringBoneService に登録します。
/// FastSpringBoneService.LateUpdate[DefaultExecutionOrder(11000)] で動作します。
/// </summary>
public class FastSpringboneRuntime : IVRM0SpringBoneRuntime
public class Vrm0xFastSpringboneRuntime : IVrm0xSpringBoneRuntime
{
public async Task InitializeAsync(GameObject vrm, IAwaitCaller awaitCaller)
{

View File

@ -11,7 +11,7 @@ namespace VRM
///
/// により、各VRMSpringBoneが自力で LateUpdate に動作します。
/// </summary>
public class VRMSpringBoneDefaultRuntime : IVRM0SpringBoneRuntime
public class Vrm0xSpringBoneDefaultRuntime : IVrm0xSpringBoneRuntime
{
public async Task InitializeAsync(GameObject vrm, IAwaitCaller awaitCaller)
{

View File

@ -395,7 +395,7 @@ namespace VRM.SimpleViewer
var instance = await VrmUtility.LoadBytesAsync(path, bytes, GetIAwaitCaller(m_useAsync.isOn),
materialCallback, metaCallback,
loadAnimation: m_loadAnimation.isOn,
springboneRuntime: m_useFastSpringBone.isOn ? new FastSpringboneRuntime() : new VRMSpringBoneDefaultRuntime()
springboneRuntime: m_useFastSpringBone.isOn ? new Vrm0xFastSpringboneRuntime() : new Vrm0xSpringBoneDefaultRuntime()
);
instance.EnableUpdateWhenOffscreen();