public Frame(string name, IFrameComponent component) { Name = name; _nodeObject = component; if (component != null) { component.Frame = this; } }
public Frame(string name, Vector3 localPosition, Matrix localRotation, Vector3 localScale, IFrameComponent component) : this(name, component) { LocalPosition = localPosition; LocalRotation = localRotation; LocalScale = localScale; ComputeLocalPose(); CommitChanges(); }