public ARObject(string modelName, AttachedPos attachedTo) { this.IsVisible = false; this.modelName = modelName; this.attatchedTo = attachedTo; Initialize(); }
float scale = 50.0f; // オブジェクトの基準スケール値(とりあえず決め打ちの固定値) public ARObject(string modelName) { this.IsVisible = false; this.modelName = modelName; this.attatchedTo = new AttachedPos(JointID.Head); // 何も指定されないときは頭にアタッチ Initialize(); }
public SampleVFX(string modelName, AttachedPos attachedTo) : base(modelName, attachedTo) { }