public override CVariable Copy(CR2WCopyAction context) { var var = (SFoliageInstance)base.Copy(context); var.position = (CVector3D)position.Copy(context); var.Yaw = (CFloat)Yaw.Copy(context); var.Pitch = (CFloat)Pitch.Copy(context); var.Roll = (CFloat)Roll.Copy(context); return(var); }
public override CVariable Copy(CR2WCopyAction context) { var var = (CTree)base.Copy(context); var.x = (CFloat)x.Copy(context); var.y = (CFloat)y.Copy(context); var.z = (CFloat)z.Copy(context); var.Yaw = (CFloat)Yaw.Copy(context); var.Pitch = (CFloat)Pitch.Copy(context); var.Roll = (CFloat)Roll.Copy(context); return(var); }